linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* waitqueue lockdep annotation
@ 2017-12-06 23:52 Christoph Hellwig
  2017-12-06 23:52 ` [PATCH 1/2] epoll: use the waitqueue lock to protect ep->wq Christoph Hellwig
  2017-12-06 23:52 ` [PATCH 2/2] sched/wait: assert the wait_queue_head lock is held in __wake_up_common Christoph Hellwig
  0 siblings, 2 replies; 11+ messages in thread
From: Christoph Hellwig @ 2017-12-06 23:52 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra
  Cc: Andrew Morton, Al Viro, Jason Baron, linux-fsdevel, linux-kernel

Hi all,

this series adds a strategic lockdep_assert_held to __wake_up_common
to ensure callers really do hold the wait_queue_head lock when calling
the unlocked wake_up variants.  It turns out epoll did not do this
for a fairly common path (hit all the time by systemd during bootup),
so the second patch fixed this instance as well.

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

end of thread, other threads:[~2017-12-14 13:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06 23:52 waitqueue lockdep annotation Christoph Hellwig
2017-12-06 23:52 ` [PATCH 1/2] epoll: use the waitqueue lock to protect ep->wq Christoph Hellwig
2017-12-07  0:49   ` Ingo Molnar
2017-12-07  2:38     ` Andreas Dilger
2017-12-07  6:12       ` Ingo Molnar
2017-12-14 13:06     ` Christoph Hellwig
2017-12-07 16:09   ` Jason Baron
2017-12-14 13:05     ` Christoph Hellwig
2017-12-06 23:52 ` [PATCH 2/2] sched/wait: assert the wait_queue_head lock is held in __wake_up_common Christoph Hellwig
2017-12-07  0:50   ` Ingo Molnar
2017-12-14 13:08     ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).