lkml.org 
[lkml]   [2007]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] change futex_wait() to hrtimers
    > if HIGH_RES_TIMERS is disabled then that is what happens. But frankly, 

    disabled? I would expect it (= more wakeups) when hrtimers are enabled.

    > most futex waits are without timeouts - if an application cares about
    > micro-effects like that then you are much better off not using a
    > per-futex timeout anywa

    That sounds like you're arguing for not using hrtimers here because
    the applications shouldn't depend on precise timeouts here anyways?!?

    Anyways when you convert more kernel timeouts to hrtimers you should
    probably add some kind of batching facility that can be globally
    configured with a sysctl or similar. Then at least laptops (and possibly
    servers) can opt for more power saving again. For the futexes alone
    it probably won't matter too much agreed, but I see a trend to more hr.

    I also liked the idea (stolen from another popular OS) that a application
    can tell the OS how precise it wants its wakeups to be.

    -Andi

    -
    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-03-12 12:23    [W:3.501 / U:0.104 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site