aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cpu_rmap.c
diff options
context:
space:
mode:
authorJoel Fernandes (Google) <joel@joelfernandes.org>2019-08-15 22:59:14 -0400
committerPaul E. McKenney <paulmck@kernel.org>2019-10-30 08:34:35 -0700
commit05ef9e9eb3dade21413680f41eb0170778e8ae2b (patch)
tree6e57e0d53beeec1aeda061fe7e53b05ad18e9d37 /lib/cpu_rmap.c
parentworkqueue: Convert for_each_wq to use built-in list check (diff)
downloadlinux-dev-05ef9e9eb3dade21413680f41eb0170778e8ae2b.tar.xz
linux-dev-05ef9e9eb3dade21413680f41eb0170778e8ae2b.zip
rcu: Ensure that ->rcu_urgent_qs is set before resched IPI
The RCU-specific resched_cpu() function sends a resched IPI to the specified CPU, which can be used to force the tick on for a given nohz_full CPU. This is needed when this nohz_full CPU is looping in the kernel while blocking the current grace period. However, for the tick to actually be forced on in all cases, that CPU's rcu_data structure's ->rcu_urgent_qs flag must be set beforehand. This commit therefore causes rcu_implicit_dynticks_qs() to set this flag prior to invoking resched_cpu() on a holdout nohz_full CPU. Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions