Re: Illegal use of reserved word in system.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux