Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1578905

Is it really safe to use workqueues to drive expedited grace periods?

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Is it really safe to use workqueues to drive expedited grace periods?
Date 2017-02-11 02:30 +0100
Message-ID <t9uFH-2Fs-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Is it really safe to use workqueues to drive expedited grace periods? "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2017-02-11 02:30 +0100
  Re: Is it really safe to use workqueues to drive expedited grace  periods? Tejun Heo <tj@kernel.org> - 2017-02-11 03:40 +0100

csiph-web