Subject: Re: CVS commit: src/sys/arch/xen/xen
To: Jason Thorpe <thorpej@shagadelic.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: source-changes
Date: 03/27/2005 00:26:11
On Sat, Mar 26, 2005 at 03:21:06PM -0800, Jason Thorpe wrote:
> 
> On Mar 26, 2005, at 1:22 PM, Manuel Bouyer wrote:
> 
> >
> >Module Name:    src
> >Committed By:    bouyer
> >Date:        Sat Mar 26 21:22:45 UTC 2005
> >
> >Modified Files:
> >    src/sys/arch/xen/xen: ctrl_if.c if_xennet.c xbd.c xbdback.c
> >        xennetback.c
> >
> >Log Message:
> >Remplace __insn_barrier() with x86_lfence() where appropriate.
> >While here, replace a panic() with a return of error code in  
> >xbdback.c.
> 
> Why not make __insn_barrier() equivalent to x86_lfence() on all x86?

This would probablt be a good idea, but isn't __insn_barrier() a
gcc builtin ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--