diff options
author | Paul E. McKenney <[email protected]> | 2009-09-13 09:15:10 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-09-18 00:06:33 +0200 |
commit | c3422bea5f09b0e85704f51f2b01271630b8940b (patch) | |
tree | fc4a18241b0f7f5d71211f6787428197769cb9f5 /net/unix | |
parent | b0e165c035b13e1074fa0b555318bd9cb7102558 (diff) |
rcu: Simplify rcu_read_unlock_special() quiescent-state accounting
The earlier approach required two scheduling-clock ticks to note an
preemptable-RCU quiescent state in the situation in which the
scheduling-clock interrupt is unlucky enough to always interrupt an
RCU read-side critical section.
With this change, the quiescent state is instead noted by the
outermost rcu_read_unlock() immediately following the first
scheduling-clock tick, or, alternatively, by the first subsequent
context switch. Therefore, this change also speeds up grace
periods.
Suggested-by: Josh Triplett <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <12528585111945-git-send-email->
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions