[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZKxpfFeUVc3IKL74@slm.duckdns.org>
Date: Mon, 10 Jul 2023 10:26:36 -1000
From: Tejun Heo <tj@...nel.org>
To: Miaohe Lin <linmiaohe@...wei.com>
Cc: longman@...hat.com, hannes@...xchg.org, lizefan.x@...edance.com,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] cgroup/cpuset: avoid unneeded cpuset_mutex re-lock
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@...wei.com>
Applied to cgroup/for-6.6.
Thanks.
--
tejun
Powered by blists - more mailing lists