[v3,3/3] powerpc/mm/cxl: Add the fault handling cpu to mm cpumask
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue Aug 22 02:49:15 AEST 2017
On Mon, 2017-08-21 at 23:39 +1000, Michael Ellerman wrote:
> On Thu, 2017-07-27 at 06:24:55 UTC, "Aneesh Kumar K.V" wrote:
> > We use mm cpumask for serializing against lockless page table walk. Anybody
> > who is doing a lockless page table walk is expected to disable irq and only
> > cpus in mm cpumask is expected do the lockless walk. This ensure that
> > a THP split can send IPI to only cpus in the mm cpumask, to make sure there
> > are no parallel lockless page table walk.
> >
> > Add the CAPI fault handling cpu to the mm cpumask so that we can do the lockless
> > page table walk while inserting hash page table entries.
> >
> > Reviewed-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> > Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
>
> Applied to powerpc next, thanks.
>
> https://git.kernel.org/powerpc/c/0f4bc0932e51817105fdee77a46680
Do you need barriers between the cpumask set and the walking ?
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list