]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
x86-64: Fix memset() to support sizes of 4Gb and above
authorJan Beulich <JBeulich@suse.com>
Thu, 5 Jan 2012 16:10:42 +0000 (16:10 +0000)
committerIngo Molnar <mingo@elte.hu>
Thu, 26 Jan 2012 10:50:04 +0000 (11:50 +0100)
commit5d7244e7c984cecead412bde6395ce18618a4a37
treed1b468fe47733ab3770f127d44d04ac2937965ee
parent426932909093e4e7729777a0e2beed4b54911361
x86-64: Fix memset() 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 memset()
(alloc_bootmem() being the primary non-reachable one, as it gets
called with suitably large sizes in FLATMEM configurations), we
have recently hit the problem a second time in our Xen kernels.

Rather than working around it a second time, 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>
Cc: Andrew Morton <akpm@linux-foundation.org>
Link: http://lkml.kernel.org/r/4F05D992020000780006AA09@nat28.tlf.novell.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/lib/memset_64.S