[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <vel3zxgvbrqfvw6drqrtbski7xwe2thn3bfeo6ahifuncvjxvu@kegptpfird5l>
Date: Wed, 27 Aug 2025 10:46:43 +0200
From: Michal Koutný <mkoutny@...e.com>
To: Chen Ridong <chenridong@...weicloud.com>
Cc: Waiman Long <llong@...hat.com>, tj@...nel.org, hannes@...xchg.org,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org, lujialin4@...wei.com,
chenridong@...wei.com
Subject: Re: [PATCH -next v5 3/3] cpuset: add helpers for cpus read and
cpuset_mutex locks
On Wed, Aug 27, 2025 at 02:23:17PM +0800, Chen Ridong <chenridong@...weicloud.com> wrote:
> It was suggested to use a do-while construct for proper scoping. but it could not work if we define as:
Perhaps like this:
DEFINE_LOCK_GUARD_0(cpuset_full, cpuset_full_lock(), cpuset_full_unlock())
> So I sent this patch version.
No probs, it's a minor issue.
Michal
Download attachment "signature.asc" of type "application/pgp-signature" (266 bytes)
Powered by blists - more mailing lists