[PATCH 03/33] memcg: Prepare to protect against concurrent isolated cpuset change
Tejun Heo
tj at kernel.org
Fri Dec 26 15:56:50 PST 2025
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
More information about the linux-arm-kernel
mailing list