lkml.org 
[lkml]   [2007]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [rfc][patch] i386: remove comment about barriers
    On Sat, Sep 29, 2007 at 08:16:47PM -0700, Paul E. McKenney wrote:
    > On Sat, Sep 29, 2007 at 03:28:48PM +0200, Nick Piggin wrote:
    >
    > Acked-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
    >

    Thanks v much for confirming, everyone.


    > > Signed-off-by: Nick Piggin <npiggin@suse.de>
    > >
    > > ---
    > > Index: linux-2.6/include/asm-i386/system.h
    > > ===================================================================
    > > --- linux-2.6.orig/include/asm-i386/system.h
    > > +++ linux-2.6/include/asm-i386/system.h
    > > @@ -214,11 +214,6 @@ static inline unsigned long get_limit(un
    > > */
    > >
    > >
    > > -/*
    > > - * Actually only lfence would be needed for mb() because all stores done
    > > - * by the kernel should be already ordered. But keep a full barrier for now.
    > > - */
    > > -
    > > #define mb() alternative("lock; addl $0,0(%%esp)", "mfence", X86_FEATURE_XMM2)
    > > #define rmb() alternative("lock; addl $0,0(%%esp)", "lfence", X86_FEATURE_XMM2)
    > >
    -
    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: 2007-09-30 14:01    [W:0.019 / U:64.092 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site