• Laurent Dufour's avatar
    powerpc/mm: tracking vDSO remap · 83d3f0e9
    Laurent Dufour authored
    Some processes (CRIU) are moving the vDSO area using the mremap system
    call.  As a consequence the kernel reference to the vDSO base address is
    no more valid and the signal return frame built once the vDSO has been
    moved is not pointing to the new sigreturn address.
    
    This patch handles vDSO remapping and unmapping.
    Signed-off-by: default avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
    Reviewed-by: default avatarIngo Molnar <mingo@kernel.org>
    Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Mel Gorman <mgorman@suse.de>
    Cc: Pavel Emelyanov <xemul@parallels.com>
    Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    83d3f0e9
mmu_context.h 4.39 KB