[lkml]   [2010]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 3/7] sysfs: Keep an nlink count on sysfs directories.
On Mon, Jan 11, 2010 at 05:06:53PM -0800, Eric W. Biederman wrote:
> I don't see the link count as interesting enough to store more than
> 16bits for it. Even with 32bits of storage for nlink sysfs would have
> to have to handle the rollover case as I am doing now. So I don't
> see any advantage to storing more bits.

I'm not terribly concerned with what value gets returned, but rather about
how long is spent calculating it. Ideally, new sysfs directory entries
can be inserted in an O(1) or other reasonable order operation. I'll try
to find some time to re-run my interface scaling tests with your latest


 \ /
  Last update: 2010-01-12 02:15    [W:0.068 / U:12.752 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site