diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2012-06-28 12:33:51 -0700 |
---|---|---|
committer | Frederic Weisbecker <fweisbec@gmail.com> | 2012-09-26 15:44:02 +0200 |
commit | 9a0c6fef423528ba5b62aa31b29aabf689eb8f70 (patch) | |
tree | 8560ac17f9a19f2f03c47fed1eb3e02011a6205f /kernel/rcutree.c | |
parent | 19dd1591fc379f1d89f39cd99cbbe97433baa3c3 (diff) |
rcu: Make RCU_FAST_NO_HZ handle adaptive ticks
The current implementation of RCU_FAST_NO_HZ tries reasonably hard to rid
the current CPU of RCU callbacks. This is appropriate when the CPU is
entering idle, where it doesn't have much useful to do anyway, but is most
definitely not what you want when transitioning to user-mode execution.
This commit therefore detects the adaptive-tick case, and refrains from
burning CPU time getting rid of RCU callbacks in that case.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Diffstat (limited to 'kernel/rcutree.c')
0 files changed, 0 insertions, 0 deletions