Re: [PATCH v2 11/17] locking/lockdep: Adjust lockdep selftest cases

2019-05-30 Thread Yuyang Du
Thanks for review. On Wed, 29 May 2019 at 19:44, Boqun Feng wrote: > > > @@ -424,7 +424,7 @@ static void rwsem_ABBA2(void) > > ML(Y1); > > RSL(X1); > > RSU(X1); > > - MU(Y1); // should fail > > + MU(Y1); // should NOT fail > > I'm afraid you get this wrong ;-) reader of

Re: [PATCH v2 11/17] locking/lockdep: Adjust lockdep selftest cases

2019-05-29 Thread Boqun Feng
On Thu, May 16, 2019 at 04:00:09PM +0800, Yuyang Du wrote: > With read-write lock support, some read-write lock cases need to be updated, > specifically, some read-lock involved deadlocks are actually not deadlocks. > Hope I am not wildly wrong. > > Signed-off-by: Yuyang Du > --- > lib/locking-s