diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-05-08 00:39:37 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-05-14 12:38:51 +0300 |
commit | 1153933703d927b3d4874c0bc801de32b1b58be9 (patch) | |
tree | e2ace18c80c137e9feb056c4c6e5e4bb7a47e7a2 /arch/x86/include/asm | |
parent | 67b8d5c7081221efa252e111cd52532ec6d4266f (diff) | |
download | linux-1153933703d927b3d4874c0bc801de32b1b58be9.tar.xz |
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 <adobriyan@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20180507213937.GB32406@avx2
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions