Re: [PATCH 0/3] netfilter : 3 patches to boost ip_tables performance

From: Eric Dumazet
Date: Thu Sep 22 2005 - 10:51:46 EST


Christoph Lameter a écrit :

It should really be do_set_mempolicy instead to be cleaner. I got a patch here that fixes the policy layer.

But still I agree with Christoph that a real vmalloc_node is better. There will be no fuzzing around with memory policies etc and its certainly better performance wise.

vmalloc_node() should be seldom used, at driver init, or when a new ip_tables is loaded. If it happens to be a performance problem, then we can optimize it.
Why should we spend days of work for a function that is yet to be used ?

Eric

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/