diff options
Diffstat (limited to 'kernel/sched/features.h')
| -rw-r--r-- | kernel/sched/features.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/kernel/sched/features.h b/kernel/sched/features.h index 99399f8e4799..5716929a2e3a 100644 --- a/kernel/sched/features.h +++ b/kernel/sched/features.h | |||
| @@ -63,10 +63,23 @@ SCHED_FEAT(LB_MIN, false) | |||
| 63 | /* | 63 | /* |
| 64 | * Apply the automatic NUMA scheduling policy. Enabled automatically | 64 | * Apply the automatic NUMA scheduling policy. Enabled automatically |
| 65 | * at runtime if running on a NUMA machine. Can be controlled via | 65 | * at runtime if running on a NUMA machine. Can be controlled via |
| 66 | * numa_balancing=. Allow PTE scanning to be forced on UMA machines | 66 | * numa_balancing= |
| 67 | * for debugging the core machinery. | ||
| 68 | */ | 67 | */ |
| 69 | #ifdef CONFIG_NUMA_BALANCING | 68 | #ifdef CONFIG_NUMA_BALANCING |
| 70 | SCHED_FEAT(NUMA, false) | 69 | SCHED_FEAT(NUMA, false) |
| 71 | SCHED_FEAT(NUMA_FORCE, false) | 70 | |
| 71 | /* | ||
| 72 | * NUMA_FAVOUR_HIGHER will favor moving tasks towards nodes where a | ||
| 73 | * higher number of hinting faults are recorded during active load | ||
| 74 | * balancing. | ||
| 75 | */ | ||
| 76 | SCHED_FEAT(NUMA_FAVOUR_HIGHER, true) | ||
| 77 | |||
| 78 | /* | ||
| 79 | * NUMA_RESIST_LOWER will resist moving tasks towards nodes where a | ||
| 80 | * lower number of hinting faults have been recorded. As this has | ||
| 81 | * the potential to prevent a task ever migrating to a new node | ||
| 82 | * due to CPU overload it is disabled by default. | ||
| 83 | */ | ||
| 84 | SCHED_FEAT(NUMA_RESIST_LOWER, false) | ||
| 72 | #endif | 85 | #endif |
