[lkml]   [2007]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [rfc][patch] i386: remove comment about barriers
    Nick Piggin <> wrote:

    > [ This is true for x86's sfence/lfence, but raises a question about Linux's
    > memory barriers. Does anybody expect that a sequence of smp_wmb and smp_rmb
    > would ever provide a full smp_mb barrier? I've always assumed no, but I
    > don't know if it is actually documented? ]

    I think you have to assume that smp_wmb() only orders stores and write
    barriers, and that smp_rmb() only orders reads and read barriers.

    smp_mb() implies both smp_wmb() and smp_rmb(), but is greater than the
    combination of the two.

    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: 2007-10-01 15:25    [W:0.018 / U:5.884 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site