Re: [PATCH 03/33] memcg: Prepare to protect against concurrent isolated cpuset change
From: Tejun Heo
Date: Fri Dec 26 2025 - 18:57:03 EST
On Wed, Dec 24, 2025 at 02:44:50PM +0100, Frederic Weisbecker wrote:
> +static void schedule_drain_work(int cpu, struct work_struct *work)
> +{
> + guard(rcu)();
> + if (!cpu_is_isolated(cpu))
> + schedule_work_on(cpu, work);
> +}
As the sync rules aren't trivial, it'd be nice to have some comment
explaining what's going on.
Thanks.
--
tejun