On Mon, Dec 31, 2007 at 09:54:32AM +0100, Eric Dumazet wrote: > > Maybe I read the patch incorrectly, or we could add some new sysctl so that > we not try to uncharge memory if a socket 'forward_alloc' is beyond a given > limit (say 2 pages), so that number of atomic_inc/dec on > udp_memory_allocated (or tcp_memory_allocated) is reduced.
I don't have time to go through these patches right now but that was the whole point of using forward_alloc, i.e., avoid touching the global for every packet. So if it's still doing that then we're doing something wrong. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html