aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-05-11 05:56:53 -0400
committerAvi Kivity <avi@redhat.com>2011-05-22 08:48:07 -0400
commite3aa52d665ec1a962d1cf025a2e5ee84b3b33406 (patch)
tree8e4e9516fe5cccf2b73c7537327f3dd21634c6d7 /lib
parentd2f62766d5778bbaf80d4feb90a23c7edc371a54 (diff)
parent29ce831000081dd757d3116bf774aafffc4b6b20 (diff)
Merge commit '29ce831000081dd757d3116bf774aafffc4b6b20' into next
* commit '29ce831000081dd757d3116bf774aafffc4b6b20': (34 commits) rcu: provide rcu_virt_note_context_switch() function. rcu: get rid of signed overflow in check_cpu_stall() rcu: optimize rcutiny rcu: prevent call_rcu() from diving into rcu core if irqs disabled rcu: further lower priority in rcu_yield() rcu: introduce kfree_rcu() rcu: fix spelling rcu: call __rcu_read_unlock() in exit_rcu for tree RCU rcu: Converge TINY_RCU expedited and normal boosting rcu: remove useless ->boosted_this_gp field rcu: code cleanups in TINY_RCU priority boosting. rcu: Switch to this_cpu() primitives rcu: Use WARN_ON_ONCE for DEBUG_OBJECTS_RCU_HEAD warnings rcu: mark rcutorture boosting callback as being on-stack rcu: add DEBUG_OBJECTS_RCU_HEAD check for alignment rcu: Enable DEBUG_OBJECTS_RCU_HEAD from !PREEMPT rcu: Add forward-progress diagnostic for per-CPU kthreads rcu: add grace-period age and more kthread state to tracing rcu: fix tracing bug thinko on boost-balk attribution rcu: update tracing documentation for new rcutorture and rcuboost ... Pulling in rcu_virt_note_context_switch(). Signed-off-by: Avi Kivity <avi@redhat.com> * commit '29ce831000081dd757d3116bf774aafffc4b6b20': (34 commits) rcu: provide rcu_virt_note_context_switch() function. rcu: get rid of signed overflow in check_cpu_stall() rcu: optimize rcutiny rcu: prevent call_rcu() from diving into rcu core if irqs disabled rcu: further lower priority in rcu_yield() rcu: introduce kfree_rcu() rcu: fix spelling rcu: call __rcu_read_unlock() in exit_rcu for tree RCU rcu: Converge TINY_RCU expedited and normal boosting rcu: remove useless ->boosted_this_gp field rcu: code cleanups in TINY_RCU priority boosting. rcu: Switch to this_cpu() primitives rcu: Use WARN_ON_ONCE for DEBUG_OBJECTS_RCU_HEAD warnings rcu: mark rcutorture boosting callback as being on-stack rcu: add DEBUG_OBJECTS_RCU_HEAD check for alignment rcu: Enable DEBUG_OBJECTS_RCU_HEAD from !PREEMPT rcu: Add forward-progress diagnostic for per-CPU kthreads rcu: add grace-period age and more kthread state to tracing rcu: fix tracing bug thinko on boost-balk attribution rcu: update tracing documentation for new rcutorture and rcuboost ...
Diffstat (limited to 'lib')
-rw-r--r--lib/Kconfig.debug32
1 files changed, 3 insertions, 29 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index c768bcdda1b7..3aa278046d78 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -337,7 +337,7 @@ config DEBUG_OBJECTS_WORK
337 337
338config DEBUG_OBJECTS_RCU_HEAD 338config DEBUG_OBJECTS_RCU_HEAD
339 bool "Debug RCU callbacks objects" 339 bool "Debug RCU callbacks objects"
340 depends on DEBUG_OBJECTS && PREEMPT 340 depends on DEBUG_OBJECTS
341 help 341 help
342 Enable this to turn on debugging of RCU list heads (call_rcu() usage). 342 Enable this to turn on debugging of RCU list heads (call_rcu() usage).
343 343
@@ -875,22 +875,9 @@ config RCU_TORTURE_TEST_RUNNABLE
875 Say N here if you want the RCU torture tests to start only 875 Say N here if you want the RCU torture tests to start only
876 after being manually enabled via /proc. 876 after being manually enabled via /proc.
877 877
878config RCU_CPU_STALL_DETECTOR
879 bool "Check for stalled CPUs delaying RCU grace periods"
880 depends on TREE_RCU || TREE_PREEMPT_RCU
881 default y
882 help
883 This option causes RCU to printk information on which
884 CPUs are delaying the current grace period, but only when
885 the grace period extends for excessive time periods.
886
887 Say N if you want to disable such checks.
888
889 Say Y if you are unsure.
890
891config RCU_CPU_STALL_TIMEOUT 878config RCU_CPU_STALL_TIMEOUT
892 int "RCU CPU stall timeout in seconds" 879 int "RCU CPU stall timeout in seconds"
893 depends on RCU_CPU_STALL_DETECTOR 880 depends on TREE_RCU || TREE_PREEMPT_RCU
894 range 3 300 881 range 3 300
895 default 60 882 default 60
896 help 883 help
@@ -899,22 +886,9 @@ config RCU_CPU_STALL_TIMEOUT
899 RCU grace period persists, additional CPU stall warnings are 886 RCU grace period persists, additional CPU stall warnings are
900 printed at more widely spaced intervals. 887 printed at more widely spaced intervals.
901 888
902config RCU_CPU_STALL_DETECTOR_RUNNABLE
903 bool "RCU CPU stall checking starts automatically at boot"
904 depends on RCU_CPU_STALL_DETECTOR
905 default y
906 help
907 If set, start checking for RCU CPU stalls immediately on
908 boot. Otherwise, RCU CPU stall checking must be manually
909 enabled.
910
911 Say Y if you are unsure.
912
913 Say N if you wish to suppress RCU CPU stall checking during boot.
914
915config RCU_CPU_STALL_VERBOSE 889config RCU_CPU_STALL_VERBOSE
916 bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR" 890 bool "Print additional per-task information for RCU_CPU_STALL_DETECTOR"
917 depends on RCU_CPU_STALL_DETECTOR && TREE_PREEMPT_RCU 891 depends on TREE_PREEMPT_RCU
918 default y 892 default y
919 help 893 help
920 This option causes RCU to printk detailed per-task information 894 This option causes RCU to printk detailed per-task information