Re: [PATCH] Re: Solaris 100K TCP connections, good example? was:[Fwd:

Andrea Arcangeli (andrea@suse.de)
Wed, 29 Sep 1999 19:57:49 +0200 (CEST)


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/