arch_topology: Avoid parsing through all the CPUs once a outlier CPU is found
There is no point in looping through all the CPU's physical package identifier to check if it is valid or not once a CPU which is outside the topology(i.e. outlier CPU) is found. Let us just break out of the loop early in such case. Link: https://lore.kernel.org/r/20220704101605.1318280-16-sudeep.holla@arm.comTested-by: NIonela Voinescu <ionela.voinescu@arm.com> Tested-by: NConor Dooley <conor.dooley@microchip.com> Reviewed-by: NGavin Shan <gshan@redhat.com> Signed-off-by: NSudeep Holla <sudeep.holla@arm.com>
Showing
想要评论请 注册 或 登录