[lkml]   [1999]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: spin_unlock optimization(i386)
    >>>>> "Andrea" == Andrea Arcangeli <> writes:
    > Because the write buffer as documented is not allowed to show changes to
    > the other cpus not in processor order. It can only delay the writes
    > undefinitely but that make no difference at all for SMP.

    Of course it makes a difference:

    A = 1 B = 0
    read B read A

    You might very well get `read A=0' and `read B=1' even though this
    does not correspond to any UP interleaving of the two threads.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:55    [W:0.027 / U:9.072 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site