aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-02-21 06:50:51 -0500
committerIngo Molnar <mingo@elte.hu>2008-04-17 11:40:45 -0400
commit85eb69a16aab5a394ce043c2131319eae35e6493 (patch)
treea372e2a5936e444c699495b25038f6158e875245 /arch
parentb4e0409a36f4533770a12095bde2a574a08a319e (diff)
x86: increase the kernel text limit to 512 MB
people sometimes do crazy stuff like building really large static arrays into their kernels or building allyesconfig kernels. Give more space to the kernel and push modules up a bit: kernel has 512 MB and modules have 1.5 GB. Should be enough for a few years ;-) Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/head_64.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index a007454133a3..017216916dff 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -383,12 +383,12 @@ NEXT_PAGE(level2_ident_pgt)
383 383
384NEXT_PAGE(level2_kernel_pgt) 384NEXT_PAGE(level2_kernel_pgt)
385 /* 385 /*
386 * 128 MB kernel mapping. We spend a full page on this pagetable 386 * 512 MB kernel mapping. We spend a full page on this pagetable
387 * anyway. 387 * anyway.
388 * 388 *
389 * The kernel code+data+bss must not be bigger than that. 389 * The kernel code+data+bss must not be bigger than that.
390 * 390 *
391 * (NOTE: at +128MB starts the module area, see MODULES_VADDR. 391 * (NOTE: at +512MB starts the module area, see MODULES_VADDR.
392 * If you want to increase this then increase MODULES_VADDR 392 * If you want to increase this then increase MODULES_VADDR
393 * too.) 393 * too.)
394 */ 394 */