diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 2054e048bb98..1a207efca591 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -717,6 +717,50 @@ config LOG_BUF_SHIFT | |||
717 | config HAVE_UNSTABLE_SCHED_CLOCK | 717 | config HAVE_UNSTABLE_SCHED_CLOCK |
718 | bool | 718 | bool |
719 | 719 | ||
720 | # | ||
721 | # For architectures that want to enable the support for NUMA-affine scheduler | ||
722 | # balancing logic: | ||
723 | # | ||
724 | config ARCH_SUPPORTS_NUMA_BALANCING | ||
725 | bool | ||
726 | |||
727 | # For architectures that (ab)use NUMA to represent different memory regions | ||
728 | # all cpu-local but of different latencies, such as SuperH. | ||
729 | # | ||
730 | config ARCH_WANT_NUMA_VARIABLE_LOCALITY | ||
731 | bool | ||
732 | |||
733 | # | ||
734 | # For architectures that are willing to define _PAGE_NUMA as _PAGE_PROTNONE | ||
735 | config ARCH_WANTS_PROT_NUMA_PROT_NONE | ||
736 | bool | ||
737 | |||
738 | config ARCH_USES_NUMA_PROT_NONE | ||
739 | bool | ||
740 | default y | ||
741 | depends on ARCH_WANTS_PROT_NUMA_PROT_NONE | ||
742 | depends on NUMA_BALANCING | ||
743 | |||
744 | config NUMA_BALANCING_DEFAULT_ENABLED | ||
745 | bool "Automatically enable NUMA aware memory/task placement" | ||
746 | default y | ||
747 | depends on NUMA_BALANCING | ||
748 | help | ||
749 | If set, autonumic NUMA balancing will be enabled if running on a NUMA | ||
750 | machine. | ||
751 | |||
752 | config NUMA_BALANCING | ||
753 | bool "Memory placement aware NUMA scheduler" | ||
754 | depends on ARCH_SUPPORTS_NUMA_BALANCING | ||
755 | depends on !ARCH_WANT_NUMA_VARIABLE_LOCALITY | ||
756 | depends on SMP && NUMA && MIGRATION | ||
757 | help | ||
758 | This option adds support for automatic NUMA aware memory/task placement. | ||
759 | The mechanism is quite primitive and is based on migrating memory when | ||
760 | it is references to the node the task is running on. | ||
761 | |||
762 | This system will be inactive on UMA systems. | ||
763 | |||
720 | menuconfig CGROUPS | 764 | menuconfig CGROUPS |
721 | boolean "Control Group support" | 765 | boolean "Control Group support" |
722 | depends on EVENTFD | 766 | depends on EVENTFD |