Re: dynamic-hz
From: Andrew Morton
Date: Mon Dec 13 2004 - 06:27:18 EST
Andrea Arcangeli <andrea@xxxxxxx> wrote:
>
> The patch only does HZ at dynamic time. But of course it's absolutely
> trivial to define it at compile time, it's probably a 3 liner on top of
> my current patch ;). However personally I don't think the three liner
> will worth the few seconds more spent configuring the kernel ;).
We still have 1000-odd places which do things like
schedule_timeout(HZ/10);
which will now involve a runtime divide. The propagation of msleep() and
ssleep() will reduce that a bit, but not much.
It's so simple to turn all those into compile-time divides that we may as
well do it.
-
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/