From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds Subject: Re: [PATCH v8 07/11] proc: flush task dcache entries from all procfs instances Date: Mon, 10 Feb 2020 09:46:26 -0800 Message-ID: References: <20200210150519.538333-1-gladkov.alexey@gmail.com> <20200210150519.538333-8-gladkov.alexey@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <20200210150519.538333-8-gladkov.alexey@gmail.com> Sender: linux-kernel-owner@vger.kernel.org To: Alexey Gladkov Cc: LKML , Kernel Hardening , Linux API , Linux FS Devel , Linux Security Module , Akinobu Mita , Alexander Viro , Alexey Dobriyan , Andrew Morton , Andy Lutomirski , Daniel Micay , Djalal Harouni , "Dmitry V . Levin" , "Eric W . Biederman" , Greg Kroah-Hartman , Ingo Molnar , "J . Bruce Fields" , Jeff Layton List-Id: linux-api@vger.kernel.org On Mon, Feb 10, 2020 at 7:06 AM Alexey Gladkov 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