diff options
author | 2021-11-23 01:37:04 +0100 | |
---|---|---|
committer | 2021-12-09 11:34:30 -0800 | |
commit | 8d9703964697340e073305574de4f5df31a28ba9 (patch) | |
tree | 333f77ce10c57a1f9e6bcf4040bb2e48bc3617ff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | rcu/nocb: Remove rcu_node structure from nocb list when de-offloaded (diff) | |
download | wireguard-linux-8d9703964697340e073305574de4f5df31a28ba9.tar.xz wireguard-linux-8d9703964697340e073305574de4f5df31a28ba9.zip |
rcu/nocb: Prepare nocb_cb_wait() to start with a non-offloaded rdp
In order to be able to toggle the offloaded state from cpusets, a nocb
kthread will need to be created for all possible CPUs whenever either
of the "rcu_nocbs=" or "nohz_full=" parameters are specified.
Therefore, the nocb_cb_wait() kthread must be prepared to start running
on a de-offloaded rdp. To accomplish this, simply move the sleeping
condition to the beginning of the nocb_cb_wait() function, which prevents
this kthread from attempting to invoke callbacks before the corresponding
CPU is offloaded.
Reviewed-by: Neeraj Upadhyay <quic_neeraju@quicinc.com>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Cc: Boqun Feng <boqun.feng@gmail.com>
Cc: Uladzislau Rezki <urezki@gmail.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Joel Fernandes <joel@joelfernandes.org>
Tested-by: Juri Lelli <juri.lelli@redhat.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions