]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rcu: Make RCU_FAST_NO_HZ handle adaptive ticks
authorPaul E. McKenney <paul.mckenney@linaro.org>
Thu, 28 Jun 2012 19:33:51 +0000 (12:33 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 5 Sep 2012 01:07:45 +0000 (18:07 -0700)
commit24cb7073be26669758c9489aa9bbaa2001f50b9d
treed55e61b019eaa69cd7f02cdc96108de8e875ff44
parentf105e7d73a465c74f00d554c855a3ddfdb7fa4ae
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>
kernel/rcutree_plugin.h