[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aB48j10nArAWAVH2@slm.duckdns.org>
Date: Fri, 9 May 2025 07:34:07 -1000
From: Tejun Heo <tj@...nel.org>
To: Joel Savitz <jsavitz@...hat.com>
Cc: linux-kernel@...r.kernel.org, Johannes Weiner <hannes@...xchg.org>,
Michal Koutný <mkoutny@...e.com>,
Christian Brauner <brauner@...nel.org>,
Al Viro <viro@...iv.linux.org.uk>, cgroups@...r.kernel.org
Subject: Re: [PATCH v2 2/2] include/cgroup: separate {get,put}_cgroup_ns
no-op case
On Thu, May 08, 2025 at 02:49:30PM -0400, Joel Savitz wrote:
> When CONFIG_CGROUPS is not selected, {get,put}_cgroup_ns become no-ops
> and therefore it is not necessary to compile in the code for changing
> the reference count.
>
> When CONFIG_CGROUP is selected, there is no valid case where
> either of {get,put}_cgroup_ns() will be called with a NULL argument.
>
> Signed-off-by: Joel Savitz <jsavitz@...hat.com>
Applied to cgroup/for-6.16.
Thanks.
--
tejun
Powered by blists - more mailing lists