Re: [PATCH] proc: allow to mark /proc files permanent outside of fs/proc/
From: Mateusz Guzik
Date: Wed Apr 09 2025 - 18:05:35 EST
On Wed, Apr 9, 2025 at 11:35 PM Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, 9 Apr 2025 22:20:13 +0300 Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
>
> > >From 06e2ff406942fef65b9c397a7f44478dd4b61451 Mon Sep 17 00:00:00 2001
> > From: Alexey Dobriyan <adobriyan@xxxxxxxxx>
> > Date: Sat, 5 Apr 2025 14:50:10 +0300
> > Subject: [PATCH 1/1] proc: allow to mark /proc files permanent outside of
> > fs/proc/
> >
> > From: Mateusz Guzik <mjguzik@xxxxxxxxx>
> >
> > Add proc_make_permanent() function to mark PDE as permanent to speed up
> > open/read/close (one alloc/free and lock/unlock less).
>
> When proposing a speedup it is preferable to provide some benchmarking
> results to help others understand the magnitude of that speedup.
>
It's all in the original submission:
https://lore.kernel.org/linux-fsdevel/20250329192821.822253-3-mjguzik@xxxxxxxxx/
--
Mateusz Guzik <mjguzik gmail.com>