[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080122.061158.237231454.davem@davemloft.net>
Date: Tue, 22 Jan 2008 06:11:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: xemul@...nvz.org
Cc: netdev@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH net-2.6.25 9/10][NETNS][FRAGS]: Make the LRU list per
namespace.
From: Pavel Emelyanov <xemul@...nvz.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@...nvz.org>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists