diff options
author | Jan Beulich <JBeulich@novell.com> | 2009-07-30 19:49:30 +0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-04 18:27:29 +0400 |
commit | 6abf65510944d33b47575d151c6b318993c8d2b5 (patch) | |
tree | 96d7b5110b03a139ca15c9e63c14a019b1dd2d8f /arch | |
parent | d8c7eb34c2db6268909ae8c3958be63bde254292 (diff) | |
download | linux-6abf65510944d33b47575d151c6b318993c8d2b5.tar.xz |
x86, 32-bit: Fix double accounting in reserve_top_address()
With VMALLOC_END included in the calculation of MAXMEM (as of
2.6.28) it is no longer correct to also bump __VMALLOC_RESERVE
in reserve_top_address(). Doing so results in needlessly small
lowmem.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
LKML-Reference: <4A71DD2A020000780000D482@vpn.id2.novell.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/mm/pgtable.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c index af8f9650058c..ed34f5e35999 100644 --- a/arch/x86/mm/pgtable.c +++ b/arch/x86/mm/pgtable.c @@ -329,7 +329,6 @@ void __init reserve_top_address(unsigned long reserve) printk(KERN_INFO "Reserving virtual address space above 0x%08x\n", (int)-reserve); __FIXADDR_TOP = -reserve - PAGE_SIZE; - __VMALLOC_RESERVE += reserve; #endif } |