[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZrFPRjhaiw5KI6Me@slm.duckdns.org>
Date: Mon, 5 Aug 2024 12:16:38 -1000
From: Tejun Heo <tj@...nel.org>
To: Xiu Jianfeng <xiujianfeng@...weicloud.com>
Cc: lizefan.x@...edance.com, hannes@...xchg.org, mkoutny@...e.com,
cgroups@...r.kernel.org, linux-kernel@...r.kernel.org,
xiujianfeng@...wei.com
Subject: Re: [PATCH v2 -next] cgroup/pids: Remove unreachable paths of
pids_{can,cancel}_fork
On Mon, Aug 05, 2024 at 12:43:04AM +0000, Xiu Jianfeng wrote:
> From: Xiu Jianfeng <xiujianfeng@...wei.com>
>
> According to the implementation of cgroup_css_set_fork(), it will fail
> if cset cannot be found and the can_fork/cancel_fork methods will not
> be called in this case, which means that the argument 'cset' for these
> methods must not be NULL, so remove the unrechable paths in them.
>
> Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
Applied to cgroup/for-6.12.
Thanks.
--
tejun
Powered by blists - more mailing lists