[PATCH v3 3/5] powerpc/smp: Rename init_thread_group_l1_cache_map() to make it generic
Srikar Dronamraju
srikar at linux.vnet.ibm.com
Tue Dec 15 19:43:12 AEDT 2020
* Gautham R. Shenoy <ego at linux.vnet.ibm.com> [2020-12-10 16:08:57]:
> From: "Gautham R. Shenoy" <ego at linux.vnet.ibm.com>
>
> init_thread_group_l1_cache_map() initializes the per-cpu cpumask
> thread_group_l1_cache_map with the core-siblings which share L1 cache
> with the CPU. Make this function generic to the cache-property (L1 or
> L2) and update a suitable mask. This is a preparatory patch for the
> next patch where we will introduce discovery of thread-groups that
> share L2-cache.
>
> No functional change.
>
Looks good to me.
Reviewed-by: Srikar Dronamraju <srikar at linux.vnet.ibm.com>
> Signed-off-by: Gautham R. Shenoy <ego at linux.vnet.ibm.com>
--
Thanks and Regards
Srikar Dronamraju
More information about the Linuxppc-dev
mailing list