[PATCH v3 7/7] sched: use per-cpu variable cpumask_weight_sibling

2019-06-26 Thread subhra mazumdar
Use per-cpu var cpumask_weight_sibling for quick lookup in select_idle_cpu. This is the fast path of scheduler and every cycle is worth saving. Usage of cpumask_weight can result in iterations. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH v3 7/7] sched: use per-cpu variable cpumask_weight_sibling

2019-06-08 Thread subhra mazumdar
Use per-cpu var cpumask_weight_sibling for quick lookup in select_idle_cpu. This is the fast path of scheduler and every cycle is worth saving. Usage of cpumask_weight can result in iterations. Signed-off-by: subhra mazumdar --- kernel/sched/fair.c | 2 +- 1 file changed, 1 insertion(+), 1 delet