Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: lfence?



On Tue, Mar 14, 2006 at 05:56:51PM -0500, Jed Davis wrote:
> Manuel Bouyer <bouyer%antioche.eu.org@localhost> 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@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index