Messages in this thread | | | Date | Mon, 13 Dec 2004 03:25:21 -0800 | From | Andrew Morton <> | Subject | Re: dynamic-hz |
| |
Andrea Arcangeli <andrea@suse.de> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |