powerpc/64s: Fix mm_cpumask memory ordering comment
authorNicholas Piggin <npiggin@gmail.com>
Wed, 21 Apr 2021 15:17:32 +0000 (01:17 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Apr 2021 15:38:03 +0000 (01:38 +1000)
commit0f197ddce403af33aa7f15af55644549778a9988
treef63d39ccfd48697180790b4e5dd399315c13c611
parent66d9b7492887d34c711bc05b36c22438acba51b4
powerpc/64s: Fix mm_cpumask memory ordering comment

The memory ordering comment no longer applies, because mm_ctx_id is
no longer used anywhere. At best always been difficult to follow.

It's better to consider the load on which the slbmte depends on, which
the MMU depends on before it can start loading TLBs, rather than a
store which may or may not have a subsequent dependency chain to the
slbmte.

So update the comment and we use the load of the mm's user context ID.
This is much more analogous the radix ordering too, which is good.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210421151733.212858-1-npiggin@gmail.com
arch/powerpc/mm/mmu_context.c