[PATCH] cpufreq: powernv: Define per_cpu chip pointer to optimize hot-path
Rafael J. Wysocki
rjw at rjwysocki.net
Tue Mar 22 01:13:59 AEDT 2016
On Monday, March 21, 2016 12:52:55 PM Viresh Kumar wrote:
> 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.
Right. Plus if you send a patch from anyone else, you should add your
sigh-off to it anyway, even if it hasn't been modified.
So Shilpasri, please resend with your S-o-b and with the ACK from Viresh.
More information about the Linuxppc-dev