From: "Andi Kleen" This works around a bug in the AMD K8 CPUs. Signed-off-by: Andi Kleen Signed-off-by: Andrew Morton --- include/asm-x86_64/processor.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN include/asm-x86_64/processor.h~x86_64-add-a-guard-page-at-the-end-of-the-47bit-address include/asm-x86_64/processor.h --- 25/include/asm-x86_64/processor.h~x86_64-add-a-guard-page-at-the-end-of-the-47bit-address 2005-05-13 22:54:35.000000000 -0700 +++ 25-akpm/include/asm-x86_64/processor.h 2005-05-13 22:54:35.000000000 -0700 @@ -159,9 +159,9 @@ static inline void clear_in_cr4 (unsigne /* - * User space process size. 47bits. + * User space process size. 47bits minus one guard page. */ -#define TASK_SIZE (0x800000000000UL) +#define TASK_SIZE (0x800000000000UL - 4096) /* This decides where the kernel will search for a free chunk of vm * space during mmap's. _