summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2018-03-14 12:45:13 -0700
committerTejun Heo <tj@kernel.org>2018-03-19 10:12:03 -0700
commit05f0fe6b74dbd7690a4cbd61810948b7d575576a (patch)
treef8aa6fef133b092f7dac48a8fd30db9319aadefd /Makefile
parentc698ca5278934c0ae32297a8725ced2e27585d7f (diff)
downloadlinux-stable-05f0fe6b74dbd7690a4cbd61810948b7d575576a.tar.gz
linux-stable-05f0fe6b74dbd7690a4cbd61810948b7d575576a.tar.bz2
linux-stable-05f0fe6b74dbd7690a4cbd61810948b7d575576a.zip
RCU, workqueue: Implement rcu_work
There are cases where RCU callback needs to be bounced to a sleepable context. This is currently done by the RCU callback queueing a work item, which can be cumbersome to write and confusing to read. This patch introduces rcu_work, a workqueue work variant which gets executed after a RCU grace period, and converts the open coded bouncing in fs/aio and kernel/cgroup. v3: Dropped queue_rcu_work_on(). Documented rcu grace period behavior after queue_rcu_work(). v2: Use rcu_barrier() instead of synchronize_rcu() to wait for completion of previously queued rcu callback as per Paul. Signed-off-by: Tejun Heo <tj@kernel.org> Acked-by: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> Cc: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions