diff options
Diffstat (limited to 'arch/i386/Kconfig')
-rw-r--r-- | arch/i386/Kconfig | 55 |
1 files changed, 46 insertions, 9 deletions
diff --git a/arch/i386/Kconfig b/arch/i386/Kconfig index cbde675bc95c..d86c865a7cd2 100644 --- a/arch/i386/Kconfig +++ b/arch/i386/Kconfig | |||
@@ -47,15 +47,6 @@ config DMI | |||
47 | 47 | ||
48 | source "init/Kconfig" | 48 | source "init/Kconfig" |
49 | 49 | ||
50 | config DOUBLEFAULT | ||
51 | default y | ||
52 | bool "Enable doublefault exception handler" if EMBEDDED | ||
53 | help | ||
54 | This option allows trapping of rare doublefault exceptions that | ||
55 | would otherwise cause a system to silently reboot. Disabling this | ||
56 | option saves about 4k and might cause you much additional grey | ||
57 | hair. | ||
58 | |||
59 | menu "Processor type and features" | 50 | menu "Processor type and features" |
60 | 51 | ||
61 | choice | 52 | choice |
@@ -457,6 +448,43 @@ config HIGHMEM64G | |||
457 | 448 | ||
458 | endchoice | 449 | endchoice |
459 | 450 | ||
451 | choice | ||
452 | depends on EXPERIMENTAL && !X86_PAE | ||
453 | prompt "Memory split" | ||
454 | default VMSPLIT_3G | ||
455 | help | ||
456 | Select the desired split between kernel and user memory. | ||
457 | |||
458 | If the address range available to the kernel is less than the | ||
459 | physical memory installed, the remaining memory will be available | ||
460 | as "high memory". Accessing high memory is a little more costly | ||
461 | than low memory, as it needs to be mapped into the kernel first. | ||
462 | Note that increasing the kernel address space limits the range | ||
463 | available to user programs, making the address space there | ||
464 | tighter. Selecting anything other than the default 3G/1G split | ||
465 | will also likely make your kernel incompatible with binary-only | ||
466 | kernel modules. | ||
467 | |||
468 | If you are not absolutely sure what you are doing, leave this | ||
469 | option alone! | ||
470 | |||
471 | config VMSPLIT_3G | ||
472 | bool "3G/1G user/kernel split" | ||
473 | config VMSPLIT_3G_OPT | ||
474 | bool "3G/1G user/kernel split (for full 1G low memory)" | ||
475 | config VMSPLIT_2G | ||
476 | bool "2G/2G user/kernel split" | ||
477 | config VMSPLIT_1G | ||
478 | bool "1G/3G user/kernel split" | ||
479 | endchoice | ||
480 | |||
481 | config PAGE_OFFSET | ||
482 | hex | ||
483 | default 0xB0000000 if VMSPLIT_3G_OPT | ||
484 | default 0x78000000 if VMSPLIT_2G | ||
485 | default 0x40000000 if VMSPLIT_1G | ||
486 | default 0xC0000000 | ||
487 | |||
460 | config HIGHMEM | 488 | config HIGHMEM |
461 | bool | 489 | bool |
462 | depends on HIGHMEM64G || HIGHMEM4G | 490 | depends on HIGHMEM64G || HIGHMEM4G |
@@ -711,6 +739,15 @@ config HOTPLUG_CPU | |||
711 | 739 | ||
712 | Say N. | 740 | Say N. |
713 | 741 | ||
742 | config DOUBLEFAULT | ||
743 | default y | ||
744 | bool "Enable doublefault exception handler" if EMBEDDED | ||
745 | help | ||
746 | This option allows trapping of rare doublefault exceptions that | ||
747 | would otherwise cause a system to silently reboot. Disabling this | ||
748 | option saves about 4k and might cause you much additional grey | ||
749 | hair. | ||
750 | |||
714 | endmenu | 751 | endmenu |
715 | 752 | ||
716 | 753 | ||