Jeff Dike 42a2b54ce8 uml: clean up TASK_SIZE usage
Clean up the calculation and use of the usable address space size on the host.

task_size is gone, replaced with TASK_SIZE, which is calculated from
CONFIG_TOP_ADDR.  get_kmem_end and set_task_sizes_skas are also gone.

host_task_size, which refers to the entire address space usable by the UML
kernel and which may be larger than the address space usable by a UML process,
since that has to end on a pgdir boundary, is replaced by CONFIG_TOP_ADDR.

STACK_TOP is now TASK_SIZE minus the two stub pages.

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-02-05 09:44:29 -08:00
..
2008-02-05 09:44:26 -08:00
2008-02-05 09:44:25 -08:00
2008-02-05 09:44:29 -08:00
2008-02-05 09:44:29 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-10-16 09:43:05 -07:00
2006-03-27 08:44:37 -08:00
2005-04-16 15:20:36 -07:00
2008-02-05 09:44:29 -08:00
2007-10-16 09:43:08 -07:00
2007-10-16 09:43:08 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-02-11 10:51:23 -08:00
2005-09-29 08:46:26 -07:00
2005-05-28 16:46:13 -07:00
2007-10-16 09:43:06 -07:00
2005-04-16 15:20:36 -07:00
2008-02-05 09:44:28 -08:00
2007-11-14 18:45:43 -08:00