Commit bb1937c
sched/fair: Compile out NUMA code entirely when NUMA is disabled
Scheduler code is very hot and every little optimization counts. Instead
of constantly checking sched_numa_balancing when NUMA is disabled,
compile it out.
Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>1 parent a32d5a4 commit bb1937c
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2260 | 2260 | | |
2261 | 2261 | | |
2262 | 2262 | | |
2263 | | - | |
| 2263 | + | |
| 2264 | + | |
2264 | 2265 | | |
2265 | 2266 | | |
2266 | 2267 | | |
| |||
10130 | 10131 | | |
10131 | 10132 | | |
10132 | 10133 | | |
10133 | | - | |
| 10134 | + | |
| 10135 | + | |
10134 | 10136 | | |
10135 | 10137 | | |
10136 | 10138 | | |
| |||
0 commit comments