[lkml]   [2006]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] spinlocks: remove 'volatile'
    "Albert Cahalan" <> writes:

    > That's all theoretical though. Today, gcc's volatile does
    > not follow the C standard on modern hardware. Bummer.
    > It'd be low-performance anyway though.

    I think gcc's volatile does in fact follow the standard. The standard
    simply doesn't say anything about hardware accesses, SMP, PCI etc.
    You must know what you're doing, and for some things you need a bit
    of assembler.
    Krzysztof Halasa
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-07-08 12:47    [W:0.020 / U:9.036 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site