Re: Why HZ on i386 is 100 ?

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 28 Apr 2002 19:59:25 +0100 (BST)


> > We do anyway
>
> Yes, but now we do all this in the timer tick, not in schedule(). This
> occures much less often.

Well in the timer tick code we already hold the locks needed to check
the front of the timer queue safely, we already have current and the top
timer needing to touch cache (current for accounting stats at the least).
So thats what an extra compare and cmov - 1 clock maybe 2 ?

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