[ofa-general] Re: libmlx4 wc flash

Michael S. Tsirkin mst at dev.mellanox.co.il
Sat May 12 10:29:27 PDT 2007


> Quoting Roland Dreier <rdreier at cisco.com>:
> Subject: Re: libmlx4 wc flash
> 
> By the way, do you know what the best way to flush WC buffers for i386
> is?  I know on x86-64 sfence is the way to go, and on ia64 I think we
> want fc, but I'm not sure what the right thing is for for old 32-bit
> processors.

Maybe just disable WC there?

> Also, does it make sense to think about using non-temporal stores
> (movntq) to get the effect of WC without having to worry about setting
> up PAT?

I don't think it works this way: if PAT is programmed to UC,
I think you get UC access with movntq. No?

-- 
MST



More information about the general mailing list