diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-05-11 14:26:22 -0400 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2017-06-08 21:52:39 -0400 |
commit | fe5ac724d81a3c7803e60c2232718f212f3f38d4 (patch) | |
tree | 2e0f8316cd8a2c3f5d67bde225aa5c7cfa7be7a5 /include/linux/rcupdate.h | |
parent | f7a10a975036ef9ca957bfe12ab2d4b1a46cccd1 (diff) |
rcu: Remove nohz_full full-system-idle state machine
The NO_HZ_FULL_SYSIDLE full-system-idle capability was added in 2013
by commit 0edd1b1784cb ("nohz_full: Add full-system-idle state machine"),
but has not been used. This commit therefore removes it.
If it turns out to be needed later, this commit can always be reverted.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Ingo Molnar <mingo@kernel.org>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/rcupdate.h')
-rw-r--r-- | include/linux/rcupdate.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index ee40d7eba741..7f24a5e673f5 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h | |||
@@ -854,15 +854,6 @@ static inline notrace void rcu_read_unlock_sched_notrace(void) | |||
854 | #define kfree_rcu(ptr, rcu_head) \ | 854 | #define kfree_rcu(ptr, rcu_head) \ |
855 | __kfree_rcu(&((ptr)->rcu_head), offsetof(typeof(*(ptr)), rcu_head)) | 855 | __kfree_rcu(&((ptr)->rcu_head), offsetof(typeof(*(ptr)), rcu_head)) |
856 | 856 | ||
857 | /* Only for use by adaptive-ticks code. */ | ||
858 | #ifdef CONFIG_NO_HZ_FULL_SYSIDLE | ||
859 | bool rcu_sys_is_idle(void); | ||
860 | void rcu_sysidle_force_exit(void); | ||
861 | #else /* #ifdef CONFIG_NO_HZ_FULL_SYSIDLE */ | ||
862 | static inline bool rcu_sys_is_idle(void) { return false; } | ||
863 | static inline void rcu_sysidle_force_exit(void) { } | ||
864 | #endif /* #else #ifdef CONFIG_NO_HZ_FULL_SYSIDLE */ | ||
865 | |||
866 | 857 | ||
867 | /* | 858 | /* |
868 | * Place this after a lock-acquisition primitive to guarantee that | 859 | * Place this after a lock-acquisition primitive to guarantee that |