linux/arch/um
Tom Spink 40fb16a360 uml: deal with inaccessible address space start
This patch makes os_get_task_size locate the bottom of the address space,
as well as the top.  This is for systems which put a lower limit on mmap
addresses.  It works by manually scanning pages from zero onwards until a
valid page is found.

Because the bottom of the address space may not be zero, it's not
sufficient to assume the top of the address space is the size of the
address space.  The size is the difference between the top address and
bottom address.

[jdike@addtoit.com: changed the name to reflect that this function is
supposed to return the top of the process address space, not its size and
changed the return value to reflect that.  Also some minor formatting
changes]
Signed-off-by: Tom Spink <tspink@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-06-06 11:29:10 -07:00
..
drivers uml: remove a duplicate include 2008-06-06 11:29:10 -07:00
include uml: deal with inaccessible address space start 2008-06-06 11:29:10 -07:00
kernel uml: deal with inaccessible address space start 2008-06-06 11:29:10 -07:00
os-Linux uml: deal with inaccessible address space start 2008-06-06 11:29:10 -07:00
scripts uml: throw out CONFIG_MODE_TT 2007-10-16 09:43:05 -07:00
sys-i386 uml: tidy ptrace interface 2008-05-13 08:02:21 -07:00
sys-ia64
sys-ppc Generic semaphore implementation 2008-04-17 10:42:34 -04:00
sys-x86_64 missing export of csum_partial() on uml/amd64 2008-05-21 16:55:58 -07:00
defconfig UML: update defconfig 2008-02-23 17:12:13 -08:00
Kconfig thanks to net/mac80211 we need to pull drivers/leds/Kconfig on uml 2008-05-21 16:55:58 -07:00
Kconfig.char uml: fix CONFIG_RAW dependencies 2008-05-13 08:02:22 -07:00
Kconfig.debug uml: GPROF needs to depend on FRAME_POINTER 2008-02-05 09:44:25 -08:00
Kconfig.i386 x86, bitops: select the generic bitmap search functions 2008-04-26 19:21:17 +02:00
Kconfig.net uml: fix URLs in Kconfig and help strings 2008-02-05 09:44:25 -08:00
Kconfig.x86_64 x86, bitops: select the generic bitmap search functions 2008-04-26 19:21:17 +02:00
Makefile Revert "uml: fix gcc problem" 2008-05-06 17:09:27 -07:00
Makefile-i386 no need to mess with KBUILD_CFLAGS on uml-i386 anymore 2007-12-05 09:25:20 -08:00
Makefile-ia64
Makefile-os-Linux kbuild: enable 'make CFLAGS=...' to add additional options to CC 2007-10-14 22:21:35 +02:00
Makefile-ppc
Makefile-skas [PATCH] uml makefiles sanitized 2005-09-29 08:46:26 -07:00
Makefile-x86_64 x86 merge fallout: uml 2007-10-29 07:41:32 -07:00