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

From: Al Viro
Date: Mon Feb 10 2020 - 14:23:16 EST


On Mon, Feb 10, 2020 at 09:46:26AM -0800, Linus Torvalds wrote:
> On Mon, Feb 10, 2020 at 7:06 AM Alexey Gladkov <gladkov.alexey@xxxxxxxxx> 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)