All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Tracking user space vDSO remaping
@ 2015-03-20 15:53 ` Laurent Dufour
  0 siblings, 0 replies; 97+ messages in thread
From: Laurent Dufour @ 2015-03-20 15:53 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Michael Ellerman,
	Jeff Dike, Richard Weinberger, Guan Xuetao, Thomas Gleixner,
	Ingo Molnar, H. Peter Anvin, x86, Arnd Bergmann, linuxppc-dev,
	linux-kernel, linux-s390, user-mode-linux-devel,
	user-mode-linux-user, linux-arch, linux-mm
  Cc: cov, criu

CRIU is recreating the process memory layout by remapping the checkpointee
memory area on top of the current process (criu). This includes remapping
the vDSO to the place it has at checkpoint time.

However some architectures like powerpc are keeping a reference to the vDSO
base address to build the signal return stack frame by calling the vDSO
sigreturn service. So once the vDSO has been moved, this reference is no
more valid and the signal frame built later are not usable.

This patch serie is introducing a new mm hook 'arch_remap' which is called
when mremap is done and the mm lock still hold. The next patch is adding the
vDSO remap and unmap tracking to the powerpc architecture.

Laurent Dufour (2):
  mm: Introducing arch_remap hook
  powerpc/mm: Tracking vDSO remap

 arch/powerpc/include/asm/mmu_context.h   | 35 +++++++++++++++++++++++++++++++-
 arch/s390/include/asm/mmu_context.h      |  6 ++++++
 arch/um/include/asm/mmu_context.h        |  5 +++++
 arch/unicore32/include/asm/mmu_context.h |  6 ++++++
 arch/x86/include/asm/mmu_context.h       |  6 ++++++
 include/asm-generic/mm_hooks.h           |  6 ++++++
 mm/mremap.c                              |  9 ++++++--
 7 files changed, 70 insertions(+), 3 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 97+ messages in thread

end of thread, other threads:[~2016-03-02 12:13 UTC | newest]

Thread overview: 97+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-20 15:53 [PATCH 0/2] Tracking user space vDSO remaping Laurent Dufour
2015-03-20 15:53 ` Laurent Dufour
2015-03-20 15:53 ` Laurent Dufour
2015-03-20 15:53 ` [PATCH 1/2] mm: Introducing arch_remap hook Laurent Dufour
2015-03-20 15:53   ` Laurent Dufour
2015-03-20 15:53   ` Laurent Dufour
2015-03-20 23:19   ` Richard Weinberger
2015-03-20 23:19     ` Richard Weinberger
2015-03-20 23:19     ` Richard Weinberger
2015-03-23  8:52   ` Ingo Molnar
2015-03-23  8:52     ` Ingo Molnar
2015-03-23  8:52     ` Ingo Molnar
2015-03-23  9:11     ` Laurent Dufour
2015-03-23  9:11       ` Laurent Dufour
2015-03-23  9:11       ` Laurent Dufour
2015-03-25 11:06     ` [PATCH v2 0/2] Tracking user space vDSO remaping Laurent Dufour
2015-03-25 11:06       ` Laurent Dufour
2015-03-25 11:06       ` Laurent Dufour
2015-03-25 11:06     ` [PATCH v2 1/2] mm: Introducing arch_remap hook Laurent Dufour
2015-03-25 11:06       ` Laurent Dufour
2015-03-25 11:06       ` Laurent Dufour
2015-03-25 11:06     ` [PATCH v2 2/2] powerpc/mm: Tracking vDSO remap Laurent Dufour
2015-03-25 11:06       ` Laurent Dufour
2015-03-25 11:06       ` Laurent Dufour
2015-03-25 12:11       ` Ingo Molnar
2015-03-25 12:11         ` Ingo Molnar
2015-03-25 12:11         ` Ingo Molnar
2015-03-25 13:25         ` Laurent Dufour
2015-03-25 13:25           ` Laurent Dufour
2015-03-25 13:25           ` Laurent Dufour
2015-03-25 13:53         ` [PATCH v3 0/2] Tracking user space vDSO remaping Laurent Dufour
2015-03-25 13:53           ` Laurent Dufour
2015-03-25 13:53           ` Laurent Dufour
2015-03-25 13:53         ` [PATCH v3 1/2] mm: Introducing arch_remap hook Laurent Dufour
2015-03-25 13:53           ` Laurent Dufour
2015-03-25 13:53           ` Laurent Dufour
2015-03-25 13:53         ` [PATCH v3 2/2] powerpc/mm: Tracking vDSO remap Laurent Dufour
2015-03-25 13:53           ` Laurent Dufour
2015-03-25 13:53           ` Laurent Dufour
2015-03-25 18:33           ` Ingo Molnar
2015-03-25 18:33             ` Ingo Molnar
2015-03-25 18:33             ` Ingo Molnar
2015-03-25 18:36             ` Ingo Molnar
2015-03-25 18:36               ` Ingo Molnar
2015-03-25 18:36               ` Ingo Molnar
2015-03-25 21:11               ` Benjamin Herrenschmidt
2015-03-25 21:11                 ` Benjamin Herrenschmidt
2015-03-25 21:11                 ` Benjamin Herrenschmidt
2015-03-25 21:11                 ` Benjamin Herrenschmidt
2015-03-26  9:43                 ` Ingo Molnar
2015-03-26  9:43                   ` Ingo Molnar
2015-03-26  9:43                   ` Ingo Molnar
2015-03-26 10:37                   ` Laurent Dufour
2015-03-26 10:37                     ` Laurent Dufour
2015-03-26 10:37                     ` Laurent Dufour
2015-03-26 14:17                     ` Ingo Molnar
2015-03-26 14:17                       ` Ingo Molnar
2015-03-26 14:17                       ` Ingo Molnar
2015-03-26 14:32                       ` Laurent Dufour
2015-03-26 14:32                         ` Laurent Dufour
2015-03-26 14:32                         ` Laurent Dufour
2015-03-26 17:37                       ` [PATCH v4 0/2] Tracking user space vDSO remaping Laurent Dufour
2015-03-26 17:37                         ` Laurent Dufour
2015-03-26 17:37                         ` Laurent Dufour
2015-03-26 17:37                       ` [PATCH v4 1/2] mm: Introducing arch_remap hook Laurent Dufour
2015-03-26 17:37                         ` Laurent Dufour
2015-03-26 17:37                         ` Laurent Dufour
2015-03-26 17:37                       ` [PATCH v4 2/2] powerpc/mm: Tracking vDSO remap Laurent Dufour
2015-03-26 17:37                         ` Laurent Dufour
2015-03-26 17:37                         ` Laurent Dufour
2015-03-26 18:55                         ` Ingo Molnar
2015-03-26 18:55                           ` Ingo Molnar
2015-03-26 18:55                           ` Ingo Molnar
2015-03-27 11:02                           ` Laurent Dufour
2015-03-27 11:02                             ` Laurent Dufour
2015-03-27 11:02                             ` Laurent Dufour
2015-03-26 23:23                   ` [PATCH v3 " Benjamin Herrenschmidt
2015-03-26 23:23                     ` Benjamin Herrenschmidt
2015-03-26 23:23                     ` Benjamin Herrenschmidt
2015-03-26 23:23                     ` Benjamin Herrenschmidt
2015-03-25 21:09             ` Benjamin Herrenschmidt
2015-03-25 21:09               ` Benjamin Herrenschmidt
2015-03-25 21:09               ` Benjamin Herrenschmidt
2015-03-25 21:09               ` Benjamin Herrenschmidt
2015-03-26  9:48               ` Ingo Molnar
2015-03-26  9:48                 ` Ingo Molnar
2015-03-26  9:48                 ` Ingo Molnar
2015-03-26 10:13                 ` Laurent Dufour
2015-03-26 10:13                   ` Laurent Dufour
2015-03-26 10:13                   ` Laurent Dufour
2015-03-20 15:53 ` [PATCH " Laurent Dufour
2015-03-20 15:53   ` Laurent Dufour
2015-03-20 15:53   ` Laurent Dufour
2016-03-02 12:13 ` [PATCH 0/2] Tracking user space vDSO remaping Christopher Covington
2016-03-02 12:13   ` Christopher Covington
2016-03-02 12:13   ` Christopher Covington
2016-03-02 12:13   ` Christopher Covington

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.