diff options
author | Paul E. McKenney <[email protected]> | 2018-02-28 10:34:54 -0800 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2018-05-15 10:27:11 -0700 |
commit | ef12620626e4e6a062acd9701d1d3429b2356773 (patch) | |
tree | c71cd47c517e568645b766067da600bcaf34a612 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | be01b4cab118e7a2d9747c71b3bef8f28fdda193 (diff) |
rcu: Don't allocate rcu_nocb_mask if no one needs it
Commit 44c65ff2e3b0 ("rcu: Eliminate NOCBs CPU-state Kconfig options")
made allocation of rcu_nocb_mask depend only on the rcu_nocbs=,
nohz_full=, or isolcpus= kernel boot parameters. However, it failed
to change the initial value of rcu_init_nohz()'s local variable
need_rcu_nocb_mask to false, which can result in useless allocation
of an all-zero rcu_nocb_mask. This commit therefore fixes this bug by
changing the initial value of need_rcu_nocb_mask to false.
While we are in the area, also correct the error message that is printed
when someone specifies that can-never-exist CPUs should be NOCBs CPUs.
Reported-by: Byungchul Park <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Acked-by: Byungchul Park <[email protected]>
Tested-by: Nicholas Piggin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions