diff options
author | Tejun Heo <tj@kernel.org> | 2015-09-29 17:47:16 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-08-10 15:02:58 -0400 |
commit | a2f5630cb737787c1bfd9aa894b1bf9f3f4554ea (patch) | |
tree | 43e66c0656a0cf77954aaba6cb1d6d1f6bac3f8d /.get_maintainer.ignore | |
parent | 81abf2525827b29839a78fd55ab0699f033c41a5 (diff) |
percpu_ref: remove unnecessary RCU grace period for staggered atomic switching confirmation
At the beginning, percpu_ref guaranteed a RCU grace period between a
call to percpu_ref_kill_and_confirm() and the invocation of the
confirmation callback. This guarantee exposed internal implementation
details and got rescinded while switching over to sched RCU; however,
__percpu_ref_switch_to_atomic() still inserts a full sched RCU grace
period even when it can simply wait for the previous attempt.
Remove the unnecessary grace period and perform the confirmation
synchronously for staggered atomic switching attempts. Update
comments accordingly.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions