[lkml]   [2000]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: spin_lock forgets to clobber memory and other smp fixes [was

    > tried to grep gcc but my gcc knowledge is too low to reverse engeneer the
    > implement semantics of the "memory" clobber fast

    Just hint. I remember the time when "memory" clobber option
    was _absent_ in gcc. And we managed to compile kernel with such gcc. 8)
    To all that I understand, "asm" (like function calls) implied barrier
    that time and constraints and clobber option were used only for
    register allocation and reloading.


    BTW Look also into asm-i386/bitops.h and dummy cast to some crap there.
    Are you impressed? 8)

    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 12:38    [W:6.699 / U:0.120 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site