[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BB1E862.8090302@iki.fi>
Date: Tue, 30 Mar 2010 15:02:42 +0300
From: Timo Teräs <timo.teras@....fi>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: netdev@...r.kernel.org
Subject: Re: [PATCH 2/7] flow: structurize flow cache
Herbert Xu wrote:
> On Mon, Mar 29, 2010 at 05:12:39PM +0300, Timo Teras wrote:
>> Group all per-cpu data to one structure instead of having many
>> globals. Also prepare the internals so that we can have multiple
>> instances of the flow cache if needed.
>
> Grouping everything together looks sane. But adding the flow
> cache pointer to everything seems to be unnecessary. Why would
> we need multiple flow caches?
Just a precaution since it doable cheaply.
If we want generic flow cache, we might want to have multiple
instance in future. It might also make sense to have per-net
flow cache.
--
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