提交 4d87ffad 编写于 作者: P Paul E. McKenney

rcu: Fix RCU_FANOUT help message

Commit cf244dc0 added a fourth level to the TREE_RCU hierarchy,
but the RCU_FANOUT help message still said "cube root".  This commit
fixes this to "fourth root" and also emphasizes that production
systems are well-served by the default.  (Stress-testing RCU itself
uses small RCU_FANOUT values in order to test large-system code paths
on small(er) systems.)
Located-by: NJohn Kacur <jkacur@redhat.com>
Signed-off-by: NPaul E. McKenney <paulmck@linux.vnet.ibm.com>
上级 910b1b7e
...@@ -388,9 +388,12 @@ config RCU_FANOUT ...@@ -388,9 +388,12 @@ config RCU_FANOUT
help help
This option controls the fanout of hierarchical implementations This option controls the fanout of hierarchical implementations
of RCU, allowing RCU to work efficiently on machines with of RCU, allowing RCU to work efficiently on machines with
large numbers of CPUs. This value must be at least the cube large numbers of CPUs. This value must be at least the fourth
root of NR_CPUS, which allows NR_CPUS up to 32,768 for 32-bit root of NR_CPUS, which allows NR_CPUS to be insanely large.
systems and up to 262,144 for 64-bit systems. The default value of RCU_FANOUT should be used for production
systems, but if you are stress-testing the RCU implementation
itself, small RCU_FANOUT values allow you to test large-system
code paths on small(er) systems.
Select a specific number if testing RCU itself. Select a specific number if testing RCU itself.
Take the default if unsure. Take the default if unsure.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册