summaryrefslogtreecommitdiff
path: root/arch/powerpc/mm/numa.c
diff options
context:
space:
mode:
authorSrikar Dronamraju <srikar@linux.vnet.ibm.com>2020-08-10 10:18:30 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-09-16 15:13:31 +0300
commitcaa8e29da59926bef099b46ab6280333d583e944 (patch)
treee98dec4cceb4be5accf376178f731feeadbff113 /arch/powerpc/mm/numa.c
parentf6606cfdfbcda00ce8a6e63c8fc13c93e73ac059 (diff)
downloadlinux-caa8e29da59926bef099b46ab6280333d583e944.tar.xz
powerpc/smp: Optimize start_secondary
In start_secondary, even if shared_cache was already set, system does a redundant match for cpumask. This redundant check can be removed by checking if shared_cache is already set. While here, localize the sibling_mask variable to within the if condition. Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20200810071834.92514-7-srikar@linux.vnet.ibm.com
Diffstat (limited to 'arch/powerpc/mm/numa.c')
0 files changed, 0 insertions, 0 deletions