Messages in this thread | | | Subject | Re: [PATCH] sched/fair: Optimize select_idle_core | From | Valentin Schneider <> | Date | Fri, 6 Dec 2019 16:57:37 +0000 |
| |
On 06/12/2019 12:53, Srikar Dronamraju wrote: > Its probably something to think over. I probably don't have an answer on why > we are not choosing the starting cpu to be primary CPU. Would we have to > think of the case where the Primary CPUs are online / offline etc? I mean > with target cpu, we know the CPU is online for sure. >
Myes, CPU affinity also makes the thing much more painful (what if the task is affined to some of the core's threads, but not the primary one?). The current method has the merit of handling these cases.
| |