[lkml]   [2019]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] fs: inode: Recycle inodenum from volatile inode slabs
zhengbin (A) writes:
>How about tmpfs and hugetlbfs use their own get_next_ino? like
>static DEFINE_PER_CPU(unsigned int, tmpfs_last_ino),
>which can reduce the risk of 32 bit wraparound further.

This won't help by itself, because in the case presented the wraparound almost
solely comes from shmem alone.

 \ /
  Last update: 2019-12-27 12:38    [W:0.028 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site