Re: [PATCH 1/6] arm64/vdso: use the fault callback to map vvar pages

2020-07-27 Thread Andrei Vagin
On Fri, Jul 24, 2020 at 06:26:23PM +0100, Catalin Marinas wrote: > On Wed, 24 Jun 2020 01:33:16 -0700, Andrei Vagin wrote: > > Currently the vdso has no awareness of time namespaces, which may > > apply distinct offsets to processes in different namespaces. To handle > > this within the vdso,

Re: [PATCH 1/6] arm64/vdso: use the fault callback to map vvar pages

2020-07-24 Thread Catalin Marinas
On Wed, 24 Jun 2020 01:33:16 -0700, Andrei Vagin wrote: > Currently the vdso has no awareness of time namespaces, which may > apply distinct offsets to processes in different namespaces. To handle > this within the vdso, we'll need to expose a per-namespace data page. > > As a preparatory step,

[PATCH 1/6] arm64/vdso: use the fault callback to map vvar pages

2020-06-24 Thread Andrei Vagin
Currently the vdso has no awareness of time namespaces, which may apply distinct offsets to processes in different namespaces. To handle this within the vdso, we'll need to expose a per-namespace data page. As a preparatory step, this patch separates the vdso data page from the code pages, and

Re: [PATCH 1/6] arm64/vdso: use the fault callback to map vvar pages

2020-06-18 Thread Andrei Vagin
On Tue, Jun 16, 2020 at 11:59:20AM +0100, Mark Rutland wrote: > On Tue, Jun 16, 2020 at 12:55:40AM -0700, Andrei Vagin wrote: > > This is required to support time namespaces where a time namespace data > > page is different for each namespace. > > Can you please give a bit more of an introduction

Re: [PATCH 1/6] arm64/vdso: use the fault callback to map vvar pages

2020-06-16 Thread Mark Rutland
On Tue, Jun 16, 2020 at 12:55:40AM -0700, Andrei Vagin wrote: > This is required to support time namespaces where a time namespace data > page is different for each namespace. Can you please give a bit more of an introduction to the changes here? As-is, this doesn't give reviewers the necessary

[PATCH 1/6] arm64/vdso: use the fault callback to map vvar pages

2020-06-16 Thread Andrei Vagin
This is required to support time namespaces where a time namespace data page is different for each namespace. Reviewed-by: Vincenzo Frascino Reviewed-by: Dmitry Safonov Signed-off-by: Andrei Vagin --- arch/arm64/kernel/vdso.c | 24 +++- 1 file changed, 15 insertions(+), 9

[PATCH 1/6] arm64/vdso: use the fault callback to map vvar pages

2020-06-02 Thread Andrei Vagin
This is required to support time namespaces where a time namespace data page is different for each namespace. Reviewed-by: Vincenzo Frascino Signed-off-by: Andrei Vagin --- arch/arm64/kernel/vdso.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git