Repository navigation
Commit 45da7a2
Peter Zijlstra
sched/fair: Exclude the current CPU from find_new_ilb()
It is possible for find_new_ilb() to select the current CPU, however,
this only happens from newidle balancing, in which case need_resched()
will be true, and consequently nohz_csd_func() will not trigger the
softirq.
Exclude the current CPU from becoming an ILB target.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>1 parent b13772f commit 45da7a2
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10056 | 10056 | | |
10057 | 10057 | | |
10058 | 10058 | | |
| 10059 | + | |
| 10060 | + | |
| 10061 | + | |
| 10062 | + | |
10059 | 10063 | | |
10060 | 10064 | | |
10061 | 10065 | | |
| |||
0 commit comments