Re: include/linux/pcounter.h

From: Arjan van de Ven
Date: Sat Feb 16 2008 - 14:39:54 EST


On Sat, 16 Feb 2008 11:26:18 -0800
Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> wrote:

> > indirect functions calls are everywhere in kernel, network, fs,
> > everywhere.
>
> That doesn't make them fast.

just to emphasize this: an indirect function call is at least as expensive as an atomic operation on
x86 cpus.... (if not more)

--
If you want to reach me at my work email, use arjan@xxxxxxxxxxxxxxx
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
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/