Re: [PATCH RFC 1/7] rcutorture: Rewrite RCU priority-boost test around a CPU-hungry reader

From: Sebastian Andrzej Siewior

Date: Fri Nov 13 2026 - 11:40:14 EST


On 2026-11-11 16:38:19 [-0500], Joel Fernandes wrote:
> --- a/kernel/rcu/rcutorture.c
> +++ b/kernel/rcu/rcutorture.c
> + init_completion(&br.done);
> + t = kthread_create(rcu_torture_boost_reader, &br, "rcu_torture_boost_rdr");
> + if (IS_ERR(t)) {
> + n_rcu_torture_boost_ktrerror++;
> + return;
> + }
> + kthread_bind(t, raw_smp_processor_id());
> + wake_up_process(t);

=> kthread_run_on_cpu()

Sebastian