summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/spinlock.h
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2012-01-26 16:55:32 +0100
committerIngo Molnar <mingo@elte.hu>2012-01-26 21:19:20 +0100
commit9d8e22777e66f420e46490e9fc6f8cb7e0e2222b (patch)
treedd0ec6122dda1409206dda70f6ae4fd3c9a2cd35 /arch/x86/include/asm/spinlock.h
parentx86-64: Fix memcpy() to support sizes of 4Gb and above (diff)
downloadlinux-9d8e22777e66f420e46490e9fc6f8cb7e0e2222b.tar.xz
linux-9d8e22777e66f420e46490e9fc6f8cb7e0e2222b.zip
x86-64: Handle byte-wise tail copying in memcpy() without a loop
While hard to measure, reducing the number of possibly/likely mis-predicted branches can generally be expected to be slightly better. Other than apparent at the first glance, this also doesn't grow the function size (the alignment gap to the next function just gets smaller). Signed-off-by: Jan Beulich <jbeulich@suse.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/4F218584020000780006F422@nat28.tlf.novell.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/spinlock.h')
0 files changed, 0 insertions, 0 deletions