From: Herbert Xu <herbert@gondor.apana.org.au> Date: Wed, 11 Jun 2003 19:12:06 +1000 On Wed, Jun 11, 2003 at 10:02:14AM +1000, herbert wrote: > > I've got a better idea. We can make flow_cache_flush take out all > out-of-date entries as determined by genid. I'll code it tonight. Here is the patch with the objectless flow_cache_flush plus the percpu stuff. hweight32() will only work on 32-bit systems. I don't know what I think about this patch. You know what might work better? A periodic per-cpu timer that does exactly this, flushing out-of-date entries. - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html