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

Linus Torvalds torvalds at linux-foundation.org
Mon Feb 10 17:46:26 UTC 2020


On Mon, Feb 10, 2020 at 7:06 AM Alexey Gladkov <gladkov.alexey at gmail.com> 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?

             Linus



More information about the Linux-security-module-archive mailing list