5f265ff1c6
* Wed Jun 8 2022 Florian Weimer <fweimer@redhat.com> - 2.34-37 - Enable rseq by default and add GLIBC_2.35 rseq symbols (#2085529) * Wed Jun 8 2022 Florian Weimer <fweimer@redhat.com> - 2.34-36 - Sync with upstream branch release/2.34/master, commit 4c92a1041257c0155c6aa7a182fe5f78e477b0e6: - powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197] - socket: Fix mistyped define statement in socket/sys/socket.h (BZ #29225) - iconv: Use 64 bit stat for gconv_parseconfdir (BZ# 29213) - catgets: Use 64 bit stat for __open_catalog (BZ# 29211) - inet: Use 64 bit stat for ruserpass (BZ# 29210) - socket: Use 64 bit stat for isfdtype (BZ# 29209) - posix: Use 64 bit stat for fpathconf (_PC_ASYNC_IO) (BZ# 29208) - posix: Use 64 bit stat for posix_fallocate fallback (BZ# 29207) - misc: Use 64 bit stat for getusershell (BZ# 29204) - misc: Use 64 bit stat for daemon (BZ# 29203) Resolves: #2085529 Resolves: #2091549 Related: #2091541
39 lines
1.4 KiB
Diff
39 lines
1.4 KiB
Diff
Revert glibc-rh2024347-13.patch. Enable rseq by default.
|
|
|
|
diff --git a/manual/tunables.texi b/manual/tunables.texi
|
|
index f559c44dcec4624b..28ff502990c2a10f 100644
|
|
--- a/manual/tunables.texi
|
|
+++ b/manual/tunables.texi
|
|
@@ -425,13 +425,11 @@ The value is measured in bytes. The default is @samp{41943040}
|
|
@end deftp
|
|
|
|
@deftp Tunable glibc.pthread.rseq
|
|
-The @code{glibc.pthread.rseq} tunable can be set to @samp{1}, to enable
|
|
-restartable sequences support. @Theglibc{} uses this to optimize the
|
|
-@code{sched_getcpu} function.
|
|
-
|
|
-The default is @samp{0}, which means that applications can perform
|
|
-restartable sequences registration, but @code{sched_getcpu} is not
|
|
-accelerated.
|
|
+The @code{glibc.pthread.rseq} tunable can be set to @samp{0}, to disable
|
|
+restartable sequences support in @theglibc{}. This enables applications
|
|
+to perform direct restartable sequence registration with the kernel.
|
|
+The default is @samp{1}, which means that @theglibc{} performs
|
|
+registration on behalf of the application.
|
|
|
|
Restartable sequences are a Linux-specific extension.
|
|
@end deftp
|
|
diff --git a/sysdeps/nptl/dl-tunables.list b/sysdeps/nptl/dl-tunables.list
|
|
index df2a39ce01858d3b..d24f4be0d08ba407 100644
|
|
--- a/sysdeps/nptl/dl-tunables.list
|
|
+++ b/sysdeps/nptl/dl-tunables.list
|
|
@@ -31,7 +31,7 @@ glibc {
|
|
type: INT_32
|
|
minval: 0
|
|
maxval: 1
|
|
- default: 0
|
|
+ default: 1
|
|
}
|
|
}
|
|
}
|