[Devel] Re: [PATCH net-2.6.25 9/10][NETNS][FRAGS]: Make the LRU list per namespace.

David Miller davem at davemloft.net
Tue Jan 22 06:11:58 PST 2008


From: Pavel Emelyanov <xemul at openvz.org>
Date: Tue, 22 Jan 2008 17:08:54 +0300

> The inet_frags.lru_list is used for evicting only, so we have
> to make it per-namespace, to evict only those fragments, who's
> namespace exceeded its high threshold, but not the whole hash.
> Besides, this helps to avoid long loops  in evictor.
> 
> The spinlock is not per-namespace because it protects the 
> hash table as well, which is global.
>     
> Signed-off-by: Pavel Emelyanov <xemul at openvz.org>

Applied.




More information about the Devel mailing list