diff options
| author | Alexey Dobriyan <[email protected]> | 2018-05-07 21:39:37 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-05-14 09:38:51 +0000 |
| commit | 1153933703d927b3d4874c0bc801de32b1b58be9 (patch) | |
| tree | e2ace18c80c137e9feb056c4c6e5e4bb7a47e7a2 /net/unix/af_unix.c | |
| parent | Linux 4.17-rc5 (diff) | |
| download | kernel-1153933703d927b3d4874c0bc801de32b1b58be9.tar.gz kernel-1153933703d927b3d4874c0bc801de32b1b58be9.zip | |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
