Re: [Patch v2] cgroup: return early if it is already on preloaded list

From: Tejun Heo
Date: Tue Dec 14 2021 - 14:45:58 EST


On Tue, Dec 14, 2021 at 12:46:07AM +0000, Wei Yang wrote:
> If a cset is already on preloaded list, this means we have already setup
> this cset properly for migration.
>
> This patch just relocate the root cgrp lookup which isn't used anyway
> when the cset is already on the preloaded list.
>
> [tj@xxxxxxxxxx: rephrase the commit log]
>
> Signed-off-by: Wei Yang <richard.weiyang@xxxxxxxxx>

Applied to cgroup/for-5.17.

Thanks.

--
tejun