From: Pavel Emelyanov Date: Tue, 22 Jan 2008 14:11:48 +0000 (-0800) Subject: [NETNS][FRAGS]: Make the LRU list per namespace. X-Git-Tag: v2.6.25-rc1~1162^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3140c25c82106645a6b1fc469dab7006a1d09fd0;p=pandora-kernel.git [NETNS][FRAGS]: Make the LRU list per namespace. 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed