diff options
author | Frederic Weisbecker <[email protected]> | 2021-11-23 01:37:04 +0100 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2021-12-09 11:34:30 -0800 |
commit | 8d9703964697340e073305574de4f5df31a28ba9 (patch) | |
tree | 333f77ce10c57a1f9e6bcf4040bb2e48bc3617ff /scripts/clang-tools/gen_compile_commands.py | |
parent | 2ebc45c44c4f3cc4c757430b2409ece4f976892e (diff) |
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 <[email protected]>
Signed-off-by: Frederic Weisbecker <[email protected]>
Cc: Boqun Feng <[email protected]>
Cc: Uladzislau Rezki <[email protected]>
Cc: Josh Triplett <[email protected]>
Cc: Joel Fernandes <[email protected]>
Tested-by: Juri Lelli <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions