Repository navigation
Commit e1d4eee
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>1 parent 387bc8b commit e1d4eee
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1156 | 1156 | | |
1157 | 1157 | | |
1158 | 1158 | | |
| 1159 | + | |
1159 | 1160 | | |
1160 | 1161 | | |
1161 | 1162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5451 | 5451 | | |
5452 | 5452 | | |
5453 | 5453 | | |
| 5454 | + | |
| 5455 | + | |
5454 | 5456 | | |
5455 | 5457 | | |
5456 | 5458 | | |
| |||
5494 | 5496 | | |
5495 | 5497 | | |
5496 | 5498 | | |
5497 | | - | |
5498 | 5499 | | |
5499 | 5500 | | |
5500 | 5501 | | |
| |||
5524 | 5525 | | |
5525 | 5526 | | |
5526 | 5527 | | |
5527 | | - | |
| 5528 | + | |
5528 | 5529 | | |
5529 | 5530 | | |
5530 | 5531 | | |
5531 | 5532 | | |
5532 | | - | |
5533 | | - | |
5534 | 5533 | | |
5535 | 5534 | | |
5536 | 5535 | | |
| |||
0 commit comments