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

Michael S. Tsirkin mst at mellanox.co.il
Tue Oct 17 14:58:24 PDT 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> Detecting SSE2 is easy -- we could just do the cpuid ourselves if we
> wanted to.  The problem is what do you do when you see that the CPU
> does or doesn't have the instruction?  The runtime patching that the
> kernel does is way too complicated, and if you're going to move mb()
> out of line then just doing a regular serializing instruction is
> probably just as good.

Maybe just do the test, print a warning and exit for now?
I don't think anyone is gonnu run libibverbs on Pentium III.

-- 
MST




More information about the general mailing list