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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexey Dobriyan <adobriyan@xxxxxxxxx> 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.

David



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux