[ovs-discuss] [PATCH net-next] fast_hash: clobber registers correctly for inline function use
davem at davemloft.net
Fri Nov 14 18:38:29 UTC 2014
From: Hannes Frederic Sowa <hannes at stressinduktion.org>
Date: Fri, 14 Nov 2014 16:46:18 +0100
> I would still like to see the current proposed fix getting applied and
> we can do this on-top. The inline call after this patch reassembles a
> direct function call, so besides the long list of clobbers, it should
> still be pretty fast.
I would rather revert the change entirely until it is implemented
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.
More information about the discuss