lkml.org 
[lkml]   [2007]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] msleep() with hrtimers

    * Jonathan Corbet <corbet@lwn.net> wrote:

    > Use hrtimers so that msleep() sleeps for the requested time
    >
    > Current msleep() snoozes for at least two jiffies, causing msleep(1)
    > to sleep for at least 20ms on HZ=100 systems. Using hrtimers allows
    > msleep() to sleep for something much closer to the requested time.
    >
    > Signed-off-by: Jonathan Corbet <corbet@lwn.net>

    still looks good to me.

    Acked-by: Ingo Molnar <mingo@elte.hu>

    Ingo
    -
    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: 2007-08-03 20:57    [W:3.611 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site