Re: [PATCH 00/10] Cover letter: fix a race in release_task when flushing the dentry

2021-01-03 Thread Wen Yang
在 2020/12/31 下午5:22, Greg Kroah-Hartman 写道: On Thu, Dec 17, 2020 at 10:26:23AM +0800, Wen Yang wrote: 在 2020/12/4 上午2:31, Wen Yang 写道: The dentries such as /proc//ns/ have the DCACHE_OP_DELETE flag, they should be deleted when the process exits. Suppose the following race appears: releas

Re: [PATCH 00/10] Cover letter: fix a race in release_task when flushing the dentry

2020-12-31 Thread Greg Kroah-Hartman
On Thu, Dec 17, 2020 at 10:26:23AM +0800, Wen Yang wrote: > > > 在 2020/12/4 上午2:31, Wen Yang 写道: > > The dentries such as /proc//ns/ have the DCACHE_OP_DELETE flag, they > > should be deleted when the process exits. > > > > Suppose the following race appears: > > > > release_task   

Re: [PATCH 00/10] Cover letter: fix a race in release_task when flushing the dentry

2020-12-16 Thread Wen Yang
在 2020/12/4 上午2:31, Wen Yang 写道: The dentries such as /proc//ns/ have the DCACHE_OP_DELETE flag, they should be deleted when the process exits. Suppose the following race appears: release_task     dput -> proc_flush_task    -> dentry->d_op->d_delete(den

[PATCH 00/10] Cover letter: fix a race in release_task when flushing the dentry

2020-12-03 Thread Wen Yang
The dentries such as /proc//ns/ have the DCACHE_OP_DELETE flag, they should be deleted when the process exits. Suppose the following race appears??? release_task?? dput -> proc_flush_task ->??dentry->d_op->d