diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2017-06-14 19:19:23 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-06-23 10:46:44 +0200 |
commit | e1d4eeec5aaa28d25f249c0195b0e1d9b9feb7bd (patch) | |
tree | aef30c8669d5220465593bb4e0d06d276ce015fc /init | |
parent | sched/fair: Spare idle load balancing on nohz_full CPUs (diff) | |
download | linux-e1d4eeec5aaa28d25f249c0195b0e1d9b9feb7bd.tar.xz linux-e1d4eeec5aaa28d25f249c0195b0e1d9b9feb7bd.zip |
sched/cpuset: Only offer CONFIG_CPUSETS if SMP is enabled
Make CONFIG_CPUSETS=y depend on SMP as this feature makes no sense
on UP. This allows for configuring out cpuset_cpumask_can_shrink()
and task_can_attach() entirely, which shrinks the kernel a bit.
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170614171926.8345-2-nicolas.pitre@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 1d3475fc9496..c359038ebeed 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -1156,6 +1156,7 @@ config CGROUP_HUGETLB config CPUSETS bool "Cpuset controller" + depends on SMP help This option will let you create and manage CPUSETs which allow dynamically partitioning a system into sets of CPUs and |