arm64/vdso: Handle faults on timens page
authorAndrei Vagin <avagin@gmail.com>
Wed, 24 Jun 2020 08:33:19 +0000 (01:33 -0700)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 24 Jul 2020 17:06:45 +0000 (18:06 +0100)
commitee3cda8e46060b021087b6ef451e1cd9fa648af6
treecd62982f623c23f6767f39a08aace16bc135d515
parent3503d56cc7233ced602e38a4c13caa64f00ab2aa
arm64/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.

Signed-off-by: Andrei Vagin <avagin@gmail.com>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Reviewed-by: Dmitry Safonov <dima@arista.com>
Link: https://lore.kernel.org/r/20200624083321.144975-5-avagin@gmail.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/vdso.c