• Johannes Weiner's avatar
    wait: don't use __wake_up_common() · 78ddb08f
    Johannes Weiner authored
    '777c6c5f wait: prevent exclusive waiter starvation' made
    __wake_up_common() global to be used from abort_exclusive_wait().
    
    It was needed to do a wake-up with the waitqueue lock held while
    passing down a key to the wake-up function.
    
    Since '4ede816a epoll keyed wakeups: add __wake_up_locked_key() and
    __wake_up_sync_key()' there is an appropriate wrapper for this case:
    __wake_up_locked_key().
    
    Use it here and make __wake_up_common() private to the scheduler
    again.
    Signed-off-by: default avatarJohannes Weiner <hannes@cmpxchg.org>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    LKML-Reference: <1239720785-19661-1-git-send-email-hannes@cmpxchg.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    78ddb08f
wait.c 8.14 KB