# Re: \[PATCH v8 07/11\] proc: flush task dcache entries from all procfs instances

- From: Al Viro \<viro@zeniv.linux.org.uk\>
- Date: 2020-02-10 19:23:16 
- List: linux-security-module
- Page: https://ratatoskr.run/linux-security-module/2020/02/172334
- Thread: https://ratatoskr.run/linux-api/2020/02/172289/t.md

```text
On Mon, Feb 10, 2020 at 09:46:26AM -0800, Linus Torvalds wrote:
> On Mon, Feb 10, 2020 at 7:06 AM Alexey Gladkov [ref] wrote:
> >
> > This allows to flush dcache entries of a task on multiple procfs mounts
> > per pid namespace.
> >
> > The RCU lock is used because the number of reads at the task exit time
> > is much larger than the number of procfs mounts.
> 
> Ok, this looks better to me than the previous version.
> 
> But that may be the "pee-in-the-snow" effect, and I _really_ want
> others to take a good look at the whole series.
> 
> The right people seem to be cc'd, but this is pretty core, and /proc
> has a tendency to cause interesting issues because of how it's
> involved in a lot of areas indirectly.
> 
> Al, Oleg, Andy, Eric?

Will check tonight (ears-deep in sorting out the old branches right now)
```
