Re: [PATCH 01/11] powerpc/smp: Cache node for reuse

2020-07-16 Thread Gautham R Shenoy
On Tue, Jul 14, 2020 at 10:06:14AM +0530, Srikar Dronamraju wrote: > While cpu_to_node is inline function with access to per_cpu variable. > However when using repeatedly, it may be cleaner to cache it in a local > variable. > > Also fix a build error in a some weird config. > "error: _numa_cpu_lo

[PATCH 01/11] powerpc/smp: Cache node for reuse

2020-07-13 Thread Srikar Dronamraju
While cpu_to_node is inline function with access to per_cpu variable. However when using repeatedly, it may be cleaner to cache it in a local variable. Also fix a build error in a some weird config. "error: _numa_cpu_lookup_table_ undeclared" No functional change Cc: linuxppc-dev Cc: Michael El