public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RFC [PATCH 0/1] Fix lockdep false positive
@ 2018-12-12  2:25 Derek Basehore
  2018-12-12  2:25 ` RFC [PATCH 1/1] locking/lockdep: Fix nest lock warning on unlock Derek Basehore
  0 siblings, 1 reply; 4+ messages in thread
From: Derek Basehore @ 2018-12-12  2:25 UTC (permalink / raw)
  To: peterz; +Cc: mingo, will.deacon, linux-kernel, Derek Basehore

I'm not sure if I'm breaking any detection with this patch since I
haven't looked at that lockdep code before. I do know that the unlock
order for locks with a nest lock should not matter, though.
Specifically, you should be able to unlock the nest lock followed by
all the locks nested underneath it.

Derek Basehore (1):
  locking/lockdep: Fix nest lock warning on unlock

 kernel/locking/lockdep.c | 27 +++++++++++++--------------
 1 file changed, 13 insertions(+), 14 deletions(-)

-- 
2.20.0.rc2.403.gdbc3b29805-goog


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-12 11:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-12  2:25 RFC [PATCH 0/1] Fix lockdep false positive Derek Basehore
2018-12-12  2:25 ` RFC [PATCH 1/1] locking/lockdep: Fix nest lock warning on unlock Derek Basehore
2018-12-12  9:09   ` Peter Zijlstra
2018-12-12 11:42     ` dbasehore .

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox