Subject: Re: lfence?
To: Jed Davis <jdev@panix.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 03/15/2006 10:06:54
On Tue, Mar 14, 2006 at 05:56:51PM -0500, Jed Davis wrote:
> Manuel Bouyer <bouyer@antioche.eu.org> writes:
> 
> > Yes, this can be an issue. I've run in such issues in other parts of
> > the kernel already.
> 
> Does the attached patch look reasonable?

It doesn't look bad, but are you sure the sfence and mfence instructions
are needed, and exists on older P6 CPUs ? If I understood it right and
remmeber properly these are only needed when using SSE2 instructions (but
I may either have misunderstood or misremember)

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