Kconfig (b899219572350685e6163ce7535efb5ad9bcd6a4) Kconfig (600715dcdf567c86f8b2c6173fcfb4b873e25a19)
1# x86 configuration
2mainmenu "Linux Kernel Configuration for x86"
3
4# Select 32 or 64 bit
5config 64BIT
6 bool "64-bit kernel" if ARCH = "x86"
7 default ARCH = "x86_64"
8 help

--- 563 unchanged lines hidden (view full) ---

572 Support for software bounce buffers used on x86-64 systems
573 which don't have a hardware IOMMU (e.g. the current generation
574 of Intel's x86-64 CPUs). Using this PCI devices which can only
575 access 32-bits of memory can be used on systems with more than
576 3 GB of memory. If unsure, say Y.
577
578config IOMMU_HELPER
579 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU)
1# x86 configuration
2mainmenu "Linux Kernel Configuration for x86"
3
4# Select 32 or 64 bit
5config 64BIT
6 bool "64-bit kernel" if ARCH = "x86"
7 default ARCH = "x86_64"
8 help

--- 563 unchanged lines hidden (view full) ---

572 Support for software bounce buffers used on x86-64 systems
573 which don't have a hardware IOMMU (e.g. the current generation
574 of Intel's x86-64 CPUs). Using this PCI devices which can only
575 access 32-bits of memory can be used on systems with more than
576 3 GB of memory. If unsure, say Y.
577
578config IOMMU_HELPER
579 def_bool (CALGARY_IOMMU || GART_IOMMU || SWIOTLB || AMD_IOMMU)
580
580config MAXSMP
581 bool "Configure Maximum number of SMP Processors and NUMA Nodes"
581config MAXSMP
582 bool "Configure Maximum number of SMP Processors and NUMA Nodes"
582 depends on X86_64 && SMP
583 depends on X86_64 && SMP && BROKEN
583 default n
584 help
585 Configure maximum number of CPUS and NUMA Nodes for this architecture.
586 If unsure, say N.
587
584 default n
585 help
586 Configure maximum number of CPUS and NUMA Nodes for this architecture.
587 If unsure, say N.
588
588if MAXSMP
589config NR_CPUS
589config NR_CPUS
590 int
591 default "4096"
592endif
593
594if !MAXSMP
595config NR_CPUS
596 int "Maximum number of CPUs (2-4096)"
597 range 2 4096
590 int "Maximum number of CPUs (2-512)" if !MAXSMP
591 range 2 512
598 depends on SMP
592 depends on SMP
593 default "4096" if MAXSMP
599 default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
600 default "8"
601 help
602 This allows you to specify the maximum number of CPUs which this
594 default "32" if X86_NUMAQ || X86_SUMMIT || X86_BIGSMP || X86_ES7000
595 default "8"
596 help
597 This allows you to specify the maximum number of CPUs which this
603 kernel will support. The maximum supported value is 4096 and the
598 kernel will support. The maximum supported value is 512 and the
604 minimum value which makes sense is 2.
605
606 This is purely to save memory - each supported CPU adds
607 approximately eight kilobytes to the kernel image.
599 minimum value which makes sense is 2.
600
601 This is purely to save memory - each supported CPU adds
602 approximately eight kilobytes to the kernel image.
608endif
609
610config SCHED_SMT
611 bool "SMT (Hyperthreading) scheduler support"
612 depends on X86_HT
613 help
614 SMT scheduler support improves the CPU scheduler's decision making
615 when dealing with Intel Pentium 4 chips with HyperThreading at a
616 cost of slightly increased overhead in some places. If unsure say

--- 316 unchanged lines hidden (view full) ---

933 depends on X86_32 && !HIGHMEM4G
934 select RESOURCES_64BIT
935 help
936 PAE is required for NX support, and furthermore enables
937 larger swapspace support for non-overcommit purposes. It
938 has the cost of more pagetable lookup overhead, and also
939 consumes more pagetable space per process.
940
603
604config SCHED_SMT
605 bool "SMT (Hyperthreading) scheduler support"
606 depends on X86_HT
607 help
608 SMT scheduler support improves the CPU scheduler's decision making
609 when dealing with Intel Pentium 4 chips with HyperThreading at a
610 cost of slightly increased overhead in some places. If unsure say

--- 316 unchanged lines hidden (view full) ---

927 depends on X86_32 && !HIGHMEM4G
928 select RESOURCES_64BIT
929 help
930 PAE is required for NX support, and furthermore enables
931 larger swapspace support for non-overcommit purposes. It
932 has the cost of more pagetable lookup overhead, and also
933 consumes more pagetable space per process.
934
935config ARCH_PHYS_ADDR_T_64BIT
936 def_bool X86_64 || X86_PAE
937
941# Common NUMA Features
942config NUMA
943 bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
944 depends on SMP
945 depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
946 default n if X86_PC
947 default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
948 help

--- 42 unchanged lines hidden (view full) ---

991config NUMA_EMU
992 bool "NUMA emulation"
993 depends on X86_64 && NUMA
994 help
995 Enable NUMA emulation. A flat machine will be split
996 into virtual nodes when booted with "numa=fake=N", where N is the
997 number of nodes. This is only useful for debugging.
998
938# Common NUMA Features
939config NUMA
940 bool "Numa Memory Allocation and Scheduler Support (EXPERIMENTAL)"
941 depends on SMP
942 depends on X86_64 || (X86_32 && HIGHMEM64G && (X86_NUMAQ || X86_BIGSMP || X86_SUMMIT && ACPI) && EXPERIMENTAL)
943 default n if X86_PC
944 default y if (X86_NUMAQ || X86_SUMMIT || X86_BIGSMP)
945 help

--- 42 unchanged lines hidden (view full) ---

988config NUMA_EMU
989 bool "NUMA emulation"
990 depends on X86_64 && NUMA
991 help
992 Enable NUMA emulation. A flat machine will be split
993 into virtual nodes when booted with "numa=fake=N", where N is the
994 number of nodes. This is only useful for debugging.
995
999if MAXSMP
1000
1001config NODES_SHIFT
996config NODES_SHIFT
1002 int
1003 default "9"
1004endif
1005
1006if !MAXSMP
1007config NODES_SHIFT
1008 int "Maximum NUMA Nodes (as a power of 2)"
997 int "Maximum NUMA Nodes (as a power of 2)" if !MAXSMP
1009 range 1 9 if X86_64
998 range 1 9 if X86_64
999 default "9" if MAXSMP
1010 default "6" if X86_64
1011 default "4" if X86_NUMAQ
1012 default "3"
1013 depends on NEED_MULTIPLE_NODES
1014 help
1015 Specify the maximum number of NUMA Nodes available on the target
1016 system. Increases memory reserved to accomodate various tables.
1000 default "6" if X86_64
1001 default "4" if X86_NUMAQ
1002 default "3"
1003 depends on NEED_MULTIPLE_NODES
1004 help
1005 Specify the maximum number of NUMA Nodes available on the target
1006 system. Increases memory reserved to accomodate various tables.
1017endif
1018
1019config HAVE_ARCH_BOOTMEM_NODE
1020 def_bool y
1021 depends on X86_32 && NUMA
1022
1023config ARCH_HAVE_MEMORY_PRESENT
1024 def_bool y
1025 depends on X86_32 && DISCONTIGMEM

--- 174 unchanged lines hidden (view full) ---

1200 depends on X86_32 && SMP && X86_IO_APIC
1201 help
1202 The default yes will allow the kernel to do irq load balancing.
1203 Saying no will keep the kernel from doing irq load balancing.
1204
1205config SECCOMP
1206 def_bool y
1207 prompt "Enable seccomp to safely compute untrusted bytecode"
1007
1008config HAVE_ARCH_BOOTMEM_NODE
1009 def_bool y
1010 depends on X86_32 && NUMA
1011
1012config ARCH_HAVE_MEMORY_PRESENT
1013 def_bool y
1014 depends on X86_32 && DISCONTIGMEM

--- 174 unchanged lines hidden (view full) ---

1189 depends on X86_32 && SMP && X86_IO_APIC
1190 help
1191 The default yes will allow the kernel to do irq load balancing.
1192 Saying no will keep the kernel from doing irq load balancing.
1193
1194config SECCOMP
1195 def_bool y
1196 prompt "Enable seccomp to safely compute untrusted bytecode"
1197 depends on PROC_FS
1208 help
1209 This kernel feature is useful for number crunching applications
1210 that may need to compute untrusted bytecode during their
1211 execution. By using pipes or other transports made available to
1212 the process as file descriptors supporting the read/write
1213 syscalls, it's possible to isolate those applications in
1214 their own address space using seccomp. Once seccomp is
1198 help
1199 This kernel feature is useful for number crunching applications
1200 that may need to compute untrusted bytecode during their
1201 execution. By using pipes or other transports made available to
1202 the process as file descriptors supporting the read/write
1203 syscalls, it's possible to isolate those applications in
1204 their own address space using seccomp. Once seccomp is
1215 enabled via prctl(PR_SET_SECCOMP), it cannot be disabled
1205 enabled via /proc/<pid>/seccomp, it cannot be disabled
1216 and the task is only allowed to execute a few safe syscalls
1217 defined by each seccomp mode.
1218
1219 If unsure, say Y. Only embedded should say N here.
1220
1221config CC_STACKPROTECTOR
1222 bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
1223 depends on X86_64 && EXPERIMENTAL && BROKEN

--- 557 unchanged lines hidden (view full) ---

1781 depends on IA32_EMULATION
1782
1783config COMPAT_FOR_U64_ALIGNMENT
1784 def_bool COMPAT
1785 depends on X86_64
1786
1787config SYSVIPC_COMPAT
1788 def_bool y
1206 and the task is only allowed to execute a few safe syscalls
1207 defined by each seccomp mode.
1208
1209 If unsure, say Y. Only embedded should say N here.
1210
1211config CC_STACKPROTECTOR
1212 bool "Enable -fstack-protector buffer overflow detection (EXPERIMENTAL)"
1213 depends on X86_64 && EXPERIMENTAL && BROKEN

--- 557 unchanged lines hidden (view full) ---

1771 depends on IA32_EMULATION
1772
1773config COMPAT_FOR_U64_ALIGNMENT
1774 def_bool COMPAT
1775 depends on X86_64
1776
1777config SYSVIPC_COMPAT
1778 def_bool y
1789 depends on COMPAT && SYSVIPC
1779 depends on X86_64 && COMPAT && SYSVIPC
1790
1791endmenu
1792
1793
1794source "net/Kconfig"
1795
1796source "drivers/Kconfig"
1797

--- 13 unchanged lines hidden ---
1780
1781endmenu
1782
1783
1784source "net/Kconfig"
1785
1786source "drivers/Kconfig"
1787

--- 13 unchanged lines hidden ---