lkml.org 
[lkml]   [2024]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject答复: [PATCH -next] cgroup/pids: remove pids cancel attach
Date
See, thank you.

-----邮件原件-----
发件人: Tejun Heo <htejun@gmail.com> 代表 Tejun Heo
发送时间: 2024年5月17日 9:46
收件人: chenridong <chenridong@huawei.com>
抄送: lizefan.x@bytedance.com; hannes@cmpxchg.org; cgroups@vger.kernel.org; linux-kernel@vger.kernel.org; cyphar@cyphar.com
主题: Re: [PATCH -next] cgroup/pids: remove pids_cancel_attach

On Fri, May 17, 2024 at 01:30:01AM +0000, Chen Ridong wrote:
> In pids subsystem, pids_can_attach never returns an error.
> Therefore, pids_cancel_attach is unnecessary and is never called.
> As a result, it should be removed.

There are subsystems which can tho and if pids is being migrated together, its cancel will be called.

Thanks.

--
tejun
\
 
 \ /
  Last update: 2024-05-27 18:30    [W:0.058 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site