[openib-general] [PATCH] use mmiowb after doorbell ring

Jason Gunthorpe jgunthorpe at obsidianresearch.com
Tue Oct 17 17:10:05 PDT 2006


On Tue, Oct 17, 2006 at 04:31:00PM -0700, Roland Dreier wrote:

> For now I just used lock; addl %0 to implement rmb on i386.  I'm
> really not comfortable making libmthca depend on sse2, and I don't see
> a good way to detect and use sse2 at runtime.

I think the typical way this is done would be to use ld.so's 'hwcap'
handling and stick an optimized library in /usr/lib/sse2.

Jason




More information about the general mailing list