Re: dynamic-hz

From: Andrea Arcangeli
Date: Sun Dec 12 2004 - 17:24:46 EST


On Sun, Dec 12, 2004 at 05:35:47PM +0100, Pavel Machek wrote:
> It certainly helps with singing capacitors... What is overhead of

;)

> this?

The overhead is a single l1 cacheline in the paths manipulating HZ
(rather than having an immediate value hardcoded in the asm, it reads it
from a memory location not in the icache). Plus there are some
conversion routines in the USER_HZ usages. It's not a measurable
difference.
-
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/