lkml.org 
[lkml]   [2002]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] scheduler fixes, 2.5.32-BK

    we used to have the global semaphore_lock - which, if used separately from
    the waitqueue lock, indeed can cause the unuse of the semaphore structure
    before the spin_unlock in wakeup() completes.

    but since 2.5.25 or so we use the semaphore waitqueue's spinlock for
    semaphore locking - this also neatly solves the semaphore-unuse problem.
    Four architectures, sparc, ia64, arm and x86-64 still use the global
    semaphore_lock, but the other 13 architectures use the waitqueue spinlock
    already.

    (unless there's something else i missed.)

    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: 2005-03-22 13:28    [W:0.038 / U:90.700 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site