[ovs-discuss] [PATCH net-next] fast_hash: clobber registers correctly for inline function use

Cong Wang cwang at twopensource.com
Fri Nov 14 19:02:28 UTC 2014


On Fri, Nov 14, 2014 at 10:38 AM, David Miller <davem at davemloft.net> wrote:
>
> Also, I am strongly of the opinion that this is a mis-use of the
> alternative call interface.  It was never intended to be used for
> things that can make real function calls.
>
> You can add a million clobbers, or a trampoline, it's still using a
> facility in a manner for which it was not designed.
>
> This means a new interface with a new name and with capabilities
> explicitly supporting this case are in order.
>

I am wondering, compare with alternative call, how slower is just testing
cpu_has_xmm4_2?



More information about the discuss mailing list