Message ID | 20220620225817.3843106-7-paulmck@kernel.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 92366810644d5675043c792abb70eaf974a77384 |
Headers | show |
Series | Torture-test updates for v5.20 | expand |
diff --git a/kernel/rcu/rcuscale.c b/kernel/rcu/rcuscale.c index 277a5bfb37d48..3ef02d4a81085 100644 --- a/kernel/rcu/rcuscale.c +++ b/kernel/rcu/rcuscale.c @@ -419,6 +419,7 @@ rcu_scale_writer(void *arg) VERBOSE_SCALEOUT_STRING("rcu_scale_writer task started"); WARN_ON(!wdpp); set_cpus_allowed_ptr(current, cpumask_of(me % nr_cpu_ids)); + current->flags |= PF_NO_SETAFFINITY; sched_set_fifo_low(current); if (holdoff)