Srikar Dronamraju 6e08630281 powerpc/smp: Allocate cpumask only after searching thread group
If allocated earlier and the search fails, then cpu_l1_cache_map cpumask
is unnecessarily cleared. However cpu_l1_cache_map can be allocated /
cleared after we search thread group.

Please note CONFIG_CPUMASK_OFFSTACK is not set on Powerpc. Hence cpumask
allocated by zalloc_cpumask_var_node is never freed.

Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Reviewed-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200810071834.92514-9-srikar@linux.vnet.ibm.com
2020-09-16 22:13:32 +10:00
..
2020-08-07 18:48:15 -07:00
2020-08-07 10:33:50 -07:00
2020-09-02 11:00:19 +10:00
2019-08-30 09:52:57 +10:00
2020-07-27 00:01:30 +10:00
2020-06-05 12:39:30 -07:00
2020-05-26 23:36:57 +10:00
2020-07-18 22:43:55 +10:00
2020-06-05 12:39:30 -07:00
2020-05-26 23:36:51 +10:00
2020-07-16 13:12:47 +10:00
2020-06-05 12:39:30 -07:00