Re: [PATCH v5 06/10] powerpc/smp: Optimize start_secondary

2020-08-11 Thread Gautham R Shenoy
Hi Srikar, On Mon, Aug 10, 2020 at 12:48:30PM +0530, Srikar Dronamraju wrote: > 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

[PATCH v5 06/10] powerpc/smp: Optimize start_secondary

2020-08-10 Thread Srikar Dronamraju
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. Cc: linuxppc-dev Cc: LKML Cc: Michael