]> asedeno.scripts.mit.edu Git - linux.git/commit
rcu: Report error for bad rcu_nocbs= parameter values
authorPaul E. McKenney <paulmck@linux.ibm.com>
Wed, 6 Mar 2019 22:47:56 +0000 (14:47 -0800)
committerPaul E. McKenney <paulmck@linux.ibm.com>
Tue, 26 Mar 2019 21:37:49 +0000 (14:37 -0700)
commit497e42600b69aca1b799c840d2cfc7ad60bb8017
tree701b61118019723ddd2d7867acd2ae42f5599551
parentda8739f23fadf05809c6c37c327367b229467045
rcu: Report error for bad rcu_nocbs= parameter values

This commit prints a console message when cpulist_parse() reports a
bad list of CPUs, and sets all CPUs' bits in that case.  The reason for
setting all CPUs' bits is that this is the safe(r) choice for real-time
workloads, which would normally be the ones using the rcu_nocbs= kernel
boot parameter.  Either way, later RCU console log messages list the
actual set of CPUs whose RCU callbacks will be offloaded.

Signed-off-by: Paul E. McKenney <paulmck@linux.ibm.com>
kernel/rcu/tree_plugin.h