diff options
author | Srikar Dronamraju <[email protected]> | 2020-09-21 15:26:49 +0530 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-10-06 23:22:26 +1100 |
commit | 661e3d42f99193b7fdd71467a87e48f6e597c285 (patch) | |
tree | c4ecc7c1a90579de280a4e8d74f838c70456d64e /drivers/usb/cdns3/cdns3-plat.c | |
parent | 1f3a4181042107e32e44047e9dde990aced845b5 (diff) |
powerpc/smp: Depend on cpu_l1_cache_map when adding CPUs
Currently on hotplug/hotunplug, CPU iterates through all the CPUs in
its core to find threads in its thread group. However this info is
already captured in cpu_l1_cache_map. Hence reduce iterations and
cleanup add_cpu_to_smallcore_masks function.
Signed-off-by: Srikar Dronamraju <[email protected]>
Tested-by: Satheesh Rajendran <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-plat.c')
0 files changed, 0 insertions, 0 deletions