Re: [IPV4] route cache: Introduce rt_genid for smooth cache invalidation

2008-01-31 Thread David Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Wed, 30 Jan 2008 09:08:56 +0100 > Current ip route cache implementation is not suited to large caches. > > We can consume a lot of CPU when cache must be invalidated, since we > currently need to evict all cache entries, and this eviction is > sometime

[IPV4] route cache: Introduce rt_genid for smooth cache invalidation

2008-01-30 Thread Eric Dumazet
Current ip route cache implementation is not suited to large caches. We can consume a lot of CPU when cache must be invalidated, since we currently need to evict all cache entries, and this eviction is sometimes asynchronous. min_delay & max_delay can somewhat control this asynchronism behavior,