Searched hist:"16 d364ba6ef2aa59b409df70682770f3ed23f7c0" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/kernel/sched/ |
H A D | topology.c | diff 16d364ba6ef2aa59b409df70682770f3ed23f7c0 Fri Sep 10 20:18:15 CDT 2021 Ricardo Neri <ricardo.neri-calderon@linux.intel.com> sched/topology: Introduce sched_group::flags
There exist situations in which the load balance needs to know the properties of the CPUs in a scheduling group. When using asymmetric packing, for instance, the load balancer needs to know not only the state of dst_cpu but also of its SMT siblings, if any.
Use the flags of the child scheduling domains to initialize scheduling group flags. This will reflect the properties of the CPUs in the group.
A subsequent changeset will make use of these new flags. No functional changes are introduced.
Originally-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org> Reviewed-by: Len Brown <len.brown@intel.com> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Link: https://lkml.kernel.org/r/20210911011819.12184-3-ricardo.neri-calderon@linux.intel.com
|
H A D | sched.h | diff 16d364ba6ef2aa59b409df70682770f3ed23f7c0 Fri Sep 10 20:18:15 CDT 2021 Ricardo Neri <ricardo.neri-calderon@linux.intel.com> sched/topology: Introduce sched_group::flags
There exist situations in which the load balance needs to know the properties of the CPUs in a scheduling group. When using asymmetric packing, for instance, the load balancer needs to know not only the state of dst_cpu but also of its SMT siblings, if any.
Use the flags of the child scheduling domains to initialize scheduling group flags. This will reflect the properties of the CPUs in the group.
A subsequent changeset will make use of these new flags. No functional changes are introduced.
Originally-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org> Reviewed-by: Len Brown <len.brown@intel.com> Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org> Link: https://lkml.kernel.org/r/20210911011819.12184-3-ricardo.neri-calderon@linux.intel.com
|