lkml.org 
[lkml]   [2008]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [(RT RFC) PATCH v2 8/9] adjust pi_lock usage in wakeup
    On Mon 2008-02-25 11:01:18, Gregory Haskins wrote:
    > From: Peter W.Morreale <pmorreale@novell.com>
    >
    > In wakeup_next_waiter(), we take the pi_lock, and then find out whether
    > we have another waiter to add to the pending owner. We can reduce
    > contention on the pi_lock for the pending owner if we first obtain the
    > pointer to the next waiter outside of the pi_lock.
    >
    > This patch adds a measureable increase in throughput.
    >
    > Signed-off-by: Peter W. Morreale <pmorreale@novell.com>

    Missing sign-off.

    Pavel
    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


    \
     
     \ /
      Last update: 2008-02-25 23:39    [W:0.018 / U:121.268 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site