linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is it really safe to use workqueues to drive expedited grace periods?
@ 2017-02-10 21:21 Paul E. McKenney
  2017-02-11  2:35 ` Tejun Heo
  0 siblings, 1 reply; 5+ messages in thread
From: Paul E. McKenney @ 2017-02-10 21:21 UTC (permalink / raw)
  To: tj, jiangshanlai; +Cc: linux-kernel

Hello!

So RCU's expedited grace periods have been using workqueues for a
little while, and things seem to be working.  But as usual, I worry...
Is this use subject to some sort of deadlock where RCU's workqueue cannot
start running until after a grace period completes, but that grace
period is the one needing the workqueue?  Note that there are ways to
set up your kernel so that all RCU grace periods are expedited.

Should I be worried?  If not, what prevents this from being a problem,
especially given that workqueue handlers are allowed to wait for RCU
grace periods to complete?

							Thanx, Paul

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

end of thread, other threads:[~2017-03-04  6:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-10 21:21 Is it really safe to use workqueues to drive expedited grace periods? Paul E. McKenney
2017-02-11  2:35 ` Tejun Heo
2017-02-14  0:16   ` Paul E. McKenney
2017-03-03 19:30     ` Tejun Heo
2017-03-04  0:17       ` Paul E. McKenney

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).