commit | d7997fe1f4584da12e9c29fb682c18e9bdc13b73 | [log] [tgz] |
---|---|---|
author | Timo Teräs <timo.teras@iki.fi> | Wed Mar 31 00:17:06 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 01 19:41:36 2010 -0700 |
tree | c1a5e01d4e9d72dd0a4cc33521a0ad1074afaec2 | |
parent | ea2dea9dacc256fe927857feb423872051642ae7 [diff] |
flow: structurize flow cache 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. Only the kmem_cache is left as a global as all flow caches share the same element size, and benefit from using a common cache. Signed-off-by: Timo Teras <timo.teras@iki.fi> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>