lkml.org 
[lkml]   [2005]   [May]   [20]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
    /
    DateFri, 20 May 2005 11:27:13 +0200
    FromHelge Hafting <>
    SubjectRe: Illegal use of reserved word in system.h
    Ben Greear wrote:
    
    > Arjan van de Ven wrote:
    >
    >> HZ may not exist. At all; people are trying to remove it. And userspace
    >> has no business knowing about it either.
    >
    >
    > It can be helpful to know what HZ you are running at, for instance if 
    > you care
    > very much about the (average) precision of a select/poll timeout.
    >
    Will  knowing it help?  You may find out that you don't have much precision,
    but then theres nothing to do about it.  And there may not even be a HZ,
    as mentioned.  Less cpu is used if there is no periodic interrupts when
    there is nothing to do.  People are trying to *not* have a regular timer
    interrupt; instead, a one-shot timer can be programmed for the next
    necessary timeout which may very well be quite a few "ticks" into
    the future. In this case there is no notion of HZ at all.
    
    Helge Hafting
    
    
    -
    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-05-20 11:25    [from the cache]
    ©2003-2008