Re: [PATCH 02/14] rseq: Introduce restartable sequences system call (v13)

From: Mathieu Desnoyers
Date: Wed May 16 2018 - 15:46:05 EST


----- On May 16, 2018, at 12:24 PM, Peter Zijlstra peterz@xxxxxxxxxxxxx wrote:

> On Mon, Apr 30, 2018 at 06:44:21PM -0400, Mathieu Desnoyers wrote:
>> Expose a new system call allowing each thread to register one userspace
>> memory area to be used as an ABI between kernel and user-space for two
>> purposes: user-space restartable sequences and quick access to read the
>> current CPU number value from user-space.
>
>> ---
>> MAINTAINERS | 11 ++
>> arch/Kconfig | 7 +
>> fs/exec.c | 1 +
>> include/linux/sched.h | 134 +++++++++++++++++
>> include/linux/syscalls.h | 4 +-
>> include/trace/events/rseq.h | 57 +++++++
>> include/uapi/linux/rseq.h | 133 +++++++++++++++++
>> init/Kconfig | 23 +++
>> kernel/Makefile | 1 +
>> kernel/fork.c | 2 +
>> kernel/rseq.c | 357 ++++++++++++++++++++++++++++++++++++++++++++
>> kernel/sched/core.c | 2 +
>> kernel/sys_ni.c | 3 +
>> 13 files changed, 734 insertions(+), 1 deletion(-)
>> create mode 100644 include/trace/events/rseq.h
>> create mode 100644 include/uapi/linux/rseq.h
>> create mode 100644 kernel/rseq.c
>>
>
> Acked-by: Peter Zijlstra (Intel) <peterz@xxxxxxxxxxxxx>

Thanks Peter !

Mathieu


--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com