Re: [PATCH 1/2] kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handling

2020-11-20 Thread Peter Zijlstra
On Fri, Nov 20, 2020 at 12:57:56PM +1000, Nicholas Piggin wrote: > powerpc keeps a counter in the mm which counts bits set in mm_cpumask as > well as other things. This means it can't use generic code to clear bits > out of the mask and doesn't adjust the arch specific counter. > > Add an arch ove

[PATCH 1/2] kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handling

2020-11-19 Thread Nicholas Piggin
powerpc keeps a counter in the mm which counts bits set in mm_cpumask as well as other things. This means it can't use generic code to clear bits out of the mask and doesn't adjust the arch specific counter. Add an arch override allowing powerpc to use clear_tasks_mm_cpumask(). Signed-off-by: Nic