diff options
| author | Abel Wu <[email protected]> | 2022-09-07 11:19:58 +0000 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-09-07 19:53:46 +0000 |
| commit | 8eeeed9c4a791f0d1f2ea830eb75a4246c117ae2 (patch) | |
| tree | ef4316da4bbe18bf4980c14fde6ab61ced927299 /net/unix/af_unix.c | |
| parent | sched/fair: Avoid double search on same cpu (diff) | |
| download | kernel-8eeeed9c4a791f0d1f2ea830eb75a4246c117ae2.tar.gz kernel-8eeeed9c4a791f0d1f2ea830eb75a4246c117ae2.zip | |
sched/fair: Remove useless check in select_idle_core()
The function select_idle_core() only gets called when has_idle_cores
is true which can be possible only when sched_smt_present is enabled.
This change also aligns select_idle_core() with select_idle_smt() in
the way that the caller do the check if necessary.
Signed-off-by: Abel Wu <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Mel Gorman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
