projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a3da0
)
rcu: Make RCU's CPU-stall detector be default
author
Paul E. McKenney
<
[email protected]
>
Wed, 2 Dec 2009 20:10:16 +0000
(12:10 -0800)
committer
Ingo Molnar
<
[email protected]
>
Thu, 3 Dec 2009 10:35:27 +0000
(11:35 +0100)
The RCU_CPU_STALL_DETECTOR costs almost nothing and has located
some bugs that might otherwise have been difficult to track
down. Make it be default for the TREE RCU implementations.
The vmlinux size impact is limited (on 64-bit x86 defconfig):
text data bss dec hex filename
8440248
1260076
995588
10695912
a334e8 vmlinux.before
8440774
1260060
995588
10696422
a336e6 vmlinux.after
+526 bytes - acceptable default cost.
For RAM starved systems, TINY_RCU does not support CPU-stall detection
and is much smaller, but then again it is a uniprocessor...
Signed-off-by: Paul E. McKenney <
[email protected]
>
Acked-by: Lai Jiangshan <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
LKML-Reference: <
12597846162906
-git-send-email->
[ v2: added image size calculations to the changelog ]
Signed-off-by: Ingo Molnar <
[email protected]
>
lib/Kconfig.debug
patch
|
blob
|
history
diff --git
a/lib/Kconfig.debug
b/lib/Kconfig.debug
index 891155817bc6e05aa52abc88e2fe7f93a9c41baa..50e0e78259e7f6d50b6111a2a4a92a180ee1d0de 100644
(file)
--- a/
lib/Kconfig.debug
+++ b/
lib/Kconfig.debug
@@
-749,7
+749,7
@@
config RCU_TORTURE_TEST_RUNNABLE
config RCU_CPU_STALL_DETECTOR
bool "Check for stalled CPUs delaying RCU grace periods"
depends on TREE_RCU || TREE_PREEMPT_RCU
- default
n
+ default
y
help
This option causes RCU to printk information on which
CPUs are delaying the current grace period, but only when