Re: [6/7] Xen VMM patch set : add alloc_skb_from_cache

From: Chris Wedgwood
Date: Sat Nov 20 2004 - 05:38:51 EST


On Sat, Nov 20, 2004 at 10:28:10AM +0000, Keir Fraser wrote:

> Could make __alloc_skb 'static inline'?

i don't think that will make much difference, i was more wondering
about the cost of an (additional) pointer dereference in a hot-path.
i think most modern x86 CPUs have pretty decent speculation logic so
the load won't usually cause horrible stalls whereas for some other
some other CPUs this isn't the case

of course w/o measurements this is just wild speculation
-
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/