[v12,17/17] Linux: Update internal copy of '<sys/rseq.h>'
Checks
| Context |
Check |
Description |
| redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
| redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
| linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Test passed
|
| linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
| linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
Commit Message
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>
---
sysdeps/unix/sysv/linux/sys/rseq.h | 11 +++++++++++
1 file changed, 11 insertions(+)
@@ -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 */