lkml.org 
[lkml]   [2004]   [Dec]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 13 Dec 2004 03:25:21 -0800
FromAndrew Morton <>
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2008