Permalink
Browse files

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>
  • Loading branch information...
1 parent 19dd159 commit 9a0c6fef423528ba5b62aa31b29aabf689eb8f70 Paul E. McKenney committed with fweisbec Jun 28, 2012
Showing with 20 additions and 0 deletions.
  1. +20 −0 kernel/rcutree_plugin.h
View
Oops, something went wrong.

0 comments on commit 9a0c6fe

Please sign in to comment.