On 04/22/2016 05:04 AM, Peter Zijlstra wrote:
The only reason for the current code is to make GCC emit only the
"LOCK XADD" instruction on x86 (and not do a pointless extra ADD on
the result), do so nicer.
Signed-off-by: Peter Zijlstra (Intel)
---
kernel/locking/qrwlock.c |2 +-
1 file ch
The only reason for the current code is to make GCC emit only the
"LOCK XADD" instruction on x86 (and not do a pointless extra ADD on
the result), do so nicer.
Signed-off-by: Peter Zijlstra (Intel)
---
kernel/locking/qrwlock.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kerne
2 matches
Mail list logo