diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2019-09-14 12:39:22 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@kernel.org> | 2019-10-28 15:02:21 +0100 |
commit | dd7dafd1ad50aa9ed7958235431f243ea131ee7d (patch) | |
tree | 6fab5bcf3edee0e5349f4e4e4005369e7fb5421c /kernel/panic.c | |
parent | rcu: Confine ->core_needs_qs accesses to the corresponding CPU (diff) | |
download | linux-dd7dafd1ad50aa9ed7958235431f243ea131ee7d.tar.xz linux-dd7dafd1ad50aa9ed7958235431f243ea131ee7d.zip |
rcu: Make kernel-mode nohz_full CPUs invoke the RCU core processing
If a nohz_full CPU is idle or executing in userspace, it makes good sense
to keep it out of RCU core processing. After all, the RCU grace-period
kthread can see its quiescent states and all of its callbacks are
offloaded, so there is nothing for RCU core processing to do.
However, if a nohz_full CPU is executing in kernel space, the RCU
grace-period kthread cannot do anything for it, so such a CPU must report
its own quiescent states. This commit therefore makes nohz_full CPUs
skip RCU core processing only if the scheduler-clock interrupt caught
them in idle or in userspace.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions