Re: [PATCH] cgroup/cpuset: avoid unneeded cpuset_mutex re-lock

From: Tejun Heo
Date: Mon Jul 10 2023 - 16:26:42 EST


On Tue, Jul 04, 2023 at 08:03:52PM +0800, Miaohe Lin wrote:
> cpuset_mutex unlock and lock pair is only needed when transferring tasks
> out of empty cpuset. Avoid unneeded cpuset_mutex re-lock when !is_empty
> to save cpu cycles.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>

Applied to cgroup/for-6.6.

Thanks.

--
tejun