Skip to content

RFC rseq: Introduce extensible struct rseq

Mathieu Desnoyers linux-api lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 32 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4selftests: rseq: Use fixed value as rseq_len parameterinclude/uapi/linux/rseq.h tools/testing/selftests/rseq/rseq.c+7 -30 replies
2/4rseq: Allow extending struct rseqinclude/linux/sched.h include/uapi/linux/rseq.h kernel/rseq.c+75 -826 replies
3/4selftests: rseq: define __rseq_abi with extensible sizetools/testing/selftests/rseq/rseq.c+3 -00 replies
4/4selftests: rseq: print rseq extensible size in basic testtools/testing/selftests/rseq/basic_test.c+15 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] rseq: Introduce extensible struct rseq

Recent discussion led to a solution for extending struct rseq. This is an implementation of the proposed solution.

Now is a good time to agree on this scheme before the release of glibc 2.32, just in case there are small details to fix on the user-space side in order to allow extending struct rseq.

Thanks,

Mathieu

Mathieu Desnoyers (4):
selftests: rseq: Use fixed value as rseq_len parameter
rseq: Allow extending struct rseq
selftests: rseq: define __rseq_abi with extensible size
selftests: rseq: print rseq extensible size in basic test

 include/linux/sched.h                     |  4 +++
 include/uapi/linux/rseq.h                 | 42 ++++++++++++++++++++--
 kernel/rseq.c                             | 44 +++++++++++++++++++----
 tools/testing/selftests/rseq/basic_test.c | 15 ++++++++
 tools/testing/selftests/rseq/rseq.c       |  8 +++--
 5 files changed, 101 insertions(+), 12 deletions(-)
Signature · 1 line
2.17.1