Re: 2.6.11 timeval_to_jiffies() wrong for ms resolution timers

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

 



George Anzinger wrote:
Chris Friesen wrote:

What about telling it to wake up a jiffy earlier, then checking whether the scheduling lag was enough to cause it to have waited the full specified time. If not, put it to sleep for another jiffy.

The user is, of course, free to do what ever they would like.

I actually meant doing this in the kernel.

> For a
more complete solution you might be interested in HRT (High Res Timers). See my signature below.

Yep. One more patch to apply and worry about versions and maintenance. Not enough of a demand for us to be able to use it, at least at this point.

Chris

-
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