[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180615171521.GA4417@avx2>
Date: Fri, 15 Jun 2018 20:15:21 +0300
From: Alexey Dobriyan <adobriyan@...il.com>
To: David Howells <dhowells@...hat.com>
Cc: viro@...iv.linux.org.uk, linux-fsdevel@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] proc: Make inline name size calculation automatic
On Thu, Jun 14, 2018 at 09:30:42PM +0100, David Howells wrote:
> Alexey Dobriyan <adobriyan@...il.com> wrote:
>
> > > Require a minimum inline name size of 33+1 to allow for names that look
> > > like two hex numbers with a dash between.
> >
> > Why 34? /proc will fallback to separate allocation for name anyway.
>
> See above comment. I ran find on /proc and there were a bunch of files whose
> names were "<hex>-<hex>". Allow for 16-char hex addresses and add a NUL char
> to that and you get 34.
Those must be /proc/*/map_files symlinks. If that's the case,
they don't have PDEs allocated.
Powered by blists - more mailing lists