Messages in this thread | | | From | chenridong <> | Subject | 答复: [PATCH -next] cgroup/pids: remove pids cancel attach | Date | Fri, 17 May 2024 01:56:03 +0000 |
| |
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
| |