[PATCH] cpufreq: powernv: Define per_cpu chip pointer to optimize hot-path

Viresh Kumar viresh.kumar at linaro.org
Mon Mar 21 18:22:55 AEDT 2016


On 18-03-16, 20:28, Shilpasri G Bhat wrote:
> From: Michael Neuling <mikey at neuling.org>
> 
> "cpufreq: powernv: Remove cpu_to_chip_id() from hot-path" introduced

If the patch is already committed, you should provide its commit id as well.

> 'core_to_chip_map' array to cache the chip-id of all cores. Replace
> this with per_cpu variable that stores the pointer to the chip-array.
> This removes the linear lookup and provides a neater and simpler
> solution.
> 
> Signed-off-by: Michael Neuling <mikey at neuling.org>
> Tested-by: Shilpasri G Bhat <shilpa.bhat at linux.vnet.ibm.com>

You are sending this patch and you have updated it as well.. So, you should have
had your signed-off here.

Acked-by: Viresh Kumar <viresh.kumar at linaro.org>

-- 
viresh


More information about the Linuxppc-dev mailing list