diff options
author | Srikar Dronamraju <srikar@linux.vnet.ibm.com> | 2020-08-10 10:18:30 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-09-16 15:13:31 +0300 |
commit | caa8e29da59926bef099b46ab6280333d583e944 (patch) | |
tree | e98dec4cceb4be5accf376178f731feeadbff113 /arch/powerpc/mm/numa.c | |
parent | f6606cfdfbcda00ce8a6e63c8fc13c93e73ac059 (diff) | |
download | linux-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