lkml.org 
[lkml]   [1999]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Re: Solaris 100K TCP connections, good example? was:[Fwd: [Fwd:
On Wed, 29 Sep 1999, Chuck Lever wrote:

>free_inodes() walks the in_use list looking for inodes with a zero
>reference count. it's not clear to me how a zero reference count inode can

In my implementation free_inodes() walks only the unused list. In the
unused list I place only valid inodes that are there only for caching
purposes i_count == 0.

Inodes that are caching nothing are put back to the slab cache immediatly
(so I save memory in such case).

Splitting the inodes into two lists I avoid completly to waste time with
inodes with i_count > 0 (infact I removed such check in CAN_UNUSE).

Andrea


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.071 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site