lkml.org 
[lkml]   [2010]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH V2 0/6][RFC] futex: FUTEX_LOCK with optional adaptive spinning
    On Tue, Apr 6, 2010 at 01:48, Peter Zijlstra <peterz@infradead.org> wrote:
    >  try
    >  spin
    >  try
    >  syscall

    This is available for a long time in the mutex implementation
    (PTHREAD_MUTEX_ADAPTIVE_NP mutex type). It hasn't show much
    improvement if any. There were some people demanding this support for
    as far as I know they are not using it now. This is adaptive
    spinning, learning from previous calls how long to wait. But it's
    still unguided. There is no way to get information like "the owner
    has been descheduled".
    --
    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: 2010-04-06 16:51    [W:4.542 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site