aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.h
diff options
context:
space:
mode:
authorSrikar Dronamraju <[email protected]>2020-09-21 15:26:53 +0530
committerMichael Ellerman <[email protected]>2020-10-06 23:22:27 +1100
commit70a94089d7f7fa91bc1795622426b3ed017ec71a (patch)
tree9e3fcc9ac2ccf110d15c2c6da54c0e0c4d8c57c1 /drivers/usb/cdns3/cdns3-trace.h
parentb8a97cb4599cda28bd3b3bc13042f5803b42ad65 (diff)
powerpc/smp: Optimize update_coregroup_mask
All threads of a SMT4/SMT8 core can either be part of CPU's coregroup mask or outside the coregroup. Use this relation to reduce the number of iterations needed to find all the CPUs that share the same coregroup Use a temporary mask to iterate through the CPUs that may share coregroup mask. Also instead of setting one CPU at a time into cpu_coregroup_mask, copy the SMT4/SMT8/submask 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