x86-64: Fix memcpy() to support sizes of 4Gb and above
authorJan Beulich <JBeulich@suse.com>
Thu, 26 Jan 2012 15:50:55 +0000 (15:50 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Jan 2012 20:19:18 +0000 (21:19 +0100)
commit2ab560911a427fdc73bfd3a7d2944d8ee0ca6db8
tree1e7d65a8a0589347da02629feaa315adff6aea8e
parent5d7244e7c984cecead412bde6395ce18618a4a37
x86-64: Fix memcpy() to support sizes of 4Gb and above

While currently there doesn't appear to be any reachable in-tree
case where such large memory blocks may be passed to memcpy(),
we already had hit the problem in our Xen kernels. Just like
done recently for mmeset(), rather than working around it,
prevent others from falling into the same trap by fixing this
long standing limitation.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/4F21846F020000780006F3FA@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/memcpy_64.S