aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.h
diff options
context:
space:
mode:
authorSrikar Dronamraju <[email protected]>2020-09-21 15:26:51 +0530
committerMichael Ellerman <[email protected]>2020-10-06 23:22:27 +1100
commit3ab33d6dc3e98e83b55732049e1d1d488207bb6d (patch)
tree7260a6b198ca3598505ab5906242d394660428e5 /drivers/usb/cdns3/cdns3-trace.h
parent375370a10d061d5c75c6bc5b09c5db4cc0b0fcfe (diff)
powerpc/smp: Optimize update_mask_by_l2
All threads of a SMT4 core can either be part of this CPU's l2-cache mask or not related to this CPU l2-cache mask. Use this relation to reduce the number of iterations needed to find all the CPUs that share the same l2-cache. Use a temporary mask to iterate through the CPUs that may share l2_cache mask. Also instead of setting one CPU at a time into cpu_l2_cache_mask, copy the SMT4/sub mask at one shot. Signed-off-by: Srikar Dronamraju <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.h')
0 files changed, 0 insertions, 0 deletions