Re: [PATCH for 5.1 0/3] Restartable Sequences updates for 5.1

From: Ingo Molnar
Date: Fri Apr 19 2019 - 16:10:56 EST



* Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx> wrote:

> Those changes aiming at 5.1 include one comment cleanup, the removal of
> the rseq_len field from the task struct which serves no purpose
> considering that the struct size is fixed by the ABI, and a selftest
> improvement adapting the number of threads to the number of detected
> CPUs, which is nicer for smaller systems.
>
> Thanks,
>
> Mathieu
>
> Mathieu Desnoyers (3):
> rseq: cleanup: Reflect removal of event counter in comments
> rseq: cleanup: remove rseq_len from task_struct
> rseq/selftests: Adapt number of threads to the number of detected cpus
>
> arch/arm/kernel/signal.c | 3 +--
> arch/x86/kernel/signal.c | 5 +----
> include/linux/sched.h | 4 ----
> kernel/rseq.c | 9 +++------
> tools/testing/selftests/rseq/run_param_test.sh | 7 +++++--
> 5 files changed, 10 insertions(+), 18 deletions(-)

Looks good, I've applied these to tip:core/rseq to make sure they don't
miss the v5.2 merge window.

(Let me know if you wanted to handle this differently.)

Thanks,

Ingo