aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorMichael Jeanson <mjeanson@efficios.com>2024-08-01 11:04:22 -0400
committerMichael Jeanson <mjeanson@efficios.com>2025-01-10 20:20:48 +0000
commit072795229c34a5530e83f90b262918cd241c3452 (patch)
tree6eae978248b0a26cd7c85b1abc19ff2d102a9e5f /sysdeps
parent540c8172660b93909ca9511e9742cd4dad4644a1 (diff)
downloadglibc-072795229c34a5530e83f90b262918cd241c3452.zip
glibc-072795229c34a5530e83f90b262918cd241c3452.tar.gz
glibc-072795229c34a5530e83f90b262918cd241c3452.tar.bz2
Linux: Update internal copy of '<sys/rseq.h>'
Sync the internal copy of '<sys/rseq.h>' with the latest Linux kernel 'include/uapi/linux/rseq.h'. Signed-off-by: Michael Jeanson <mjeanson@efficios.com> Reviewed-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/sys/rseq.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/rseq.h b/sysdeps/unix/sysv/linux/sys/rseq.h
index 0a6cc0b..38fdb27 100644
--- a/sysdeps/unix/sysv/linux/sys/rseq.h
+++ b/sysdeps/unix/sysv/linux/sys/rseq.h
@@ -152,6 +152,17 @@ struct rseq
Inhibit instruction sequence block restart on migration for
this thread. */
uint32_t flags;
+ /* Restartable sequences node_id field. Updated by the kernel. Read by
+ user-space with single-copy atomicity semantics. This field should only
+ be read by the thread which registered this data structure. Aligned on
+ 32-bit. Contains the current NUMA node ID. */
+ uint32_t node_id;
+ /* Restartable sequences mm_cid field. Updated by the kernel. Read by
+ user-space with single-copy atomicity semantics. This field should only
+ be read by the thread which registered this data structure. Aligned on
+ 32-bit. Contains the current thread's concurrency ID (allocated
+ uniquely within a memory map). */
+ uint32_t mm_cid;
} __attribute__ ((__aligned__ (32)));
#endif /* __GLIBC_HAVE_KERNEL_RSEQ */