Re: [RFC v2 6/7] mm/powerpc: Use generic VDSO remap and unmap functions

From: Michael Ellerman
Date: Fri Nov 04 2016 - 00:59:58 EST


Christopher Covington <cov@xxxxxxxxxxxxxx> writes:

> The PowerPC VDSO remap and unmap code was copied to a generic location,
> only modifying the variable name expected in mm->context (vdso instead of
> vdso_base) to match most other architectures. Having adopted this generic
> naming, drop the code in arch/powerpc and use the generic version.
>
> Signed-off-by: Christopher Covington <cov@xxxxxxxxxxxxxx>
> ---
> arch/powerpc/Kconfig | 1 +
> arch/powerpc/include/asm/Kbuild | 1 +
> arch/powerpc/include/asm/mm-arch-hooks.h | 28 -------------------------
> arch/powerpc/include/asm/mmu_context.h | 35 +-------------------------------
> 4 files changed, 3 insertions(+), 62 deletions(-)
> delete mode 100644 arch/powerpc/include/asm/mm-arch-hooks.h

This looks OK.

Have you tested it on powerpc? I could but I don't know how to actually
trigger these paths, I assume I need a CRIU setup?

Can you flip the subject to "powerpc/mm: ...".

cheers