Re: [PATCH] proc: Make inline name size calculation automatic

From: Andrew Morton
Date: Mon Jun 18 2018 - 20:42:15 EST


On Wed, 13 Jun 2018 19:43:19 +0100 David Howells <dhowells@xxxxxxxxxx> wrote:

> Make calculation of the size of the inline name in struct proc_dir_entry
> automatic, rather than having to manually encode the numbers and failing to
> allow for lockdep.
>
> Require a minimum inline name size of 33+1 to allow for names that look
> like two hex numbers with a dash between.

Please cc Alexey on /proc patches.

What are the user-visible runtime effects of this change?