diff options
author | Alexey Dobriyan <[email protected]> | 2018-05-08 00:39:37 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2018-05-14 11:38:51 +0200 |
commit | 1153933703d927b3d4874c0bc801de32b1b58be9 (patch) | |
tree | e2ace18c80c137e9feb056c4c6e5e4bb7a47e7a2 /lib/test_overflow.c | |
parent | 67b8d5c7081221efa252e111cd52532ec6d4266f (diff) |
x86/asm/64: Micro-optimize __clear_user() - Use immediate constants
Save two registers. Adding constants should be just as fast as adding registers.
Signed-off-by: Alexey Dobriyan <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/20180507213937.GB32406@avx2
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions