x86/vdso: Handle faults on timens page
authorDmitry Safonov <dima@arista.com>
Tue, 12 Nov 2019 01:27:13 +0000 (01:27 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jan 2020 11:20:58 +0000 (12:20 +0100)
commitaf34ebeb866fafc0a9a09dda51c52ccec007ace0
treec81dda29e5d7b2fde4e73568d1dd9b74fe87f3ff
parentafaa7b5ac7c87479fb5a626f87d2157af30d6401
x86/vdso: Handle faults on timens page

If a task belongs to a time namespace then the VVAR page which contains
the system wide VDSO data is replaced with a namespace specific page
which has the same layout as the VVAR page.

Co-developed-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Andrei Vagin <avagin@gmail.com>
Signed-off-by: Dmitry Safonov <dima@arista.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191112012724.250792-25-dima@arista.com
arch/x86/entry/vdso/vma.c
mm/mmap.c