08c3a6
Revert glibc-rh2024347-13.patch.  Enable rseq by default.
08c3a6
08c3a6
diff --git a/manual/tunables.texi b/manual/tunables.texi
08c3a6
index f559c44dcec4624b..28ff502990c2a10f 100644
08c3a6
--- a/manual/tunables.texi
08c3a6
+++ b/manual/tunables.texi
08c3a6
@@ -425,13 +425,11 @@ The value is measured in bytes.  The default is @samp{41943040}
08c3a6
 @end deftp
08c3a6
 
08c3a6
 @deftp Tunable glibc.pthread.rseq
08c3a6
-The @code{glibc.pthread.rseq} tunable can be set to @samp{1}, to enable
08c3a6
-restartable sequences support.  @Theglibc{} uses this to optimize the
08c3a6
-@code{sched_getcpu} function.
08c3a6
-
08c3a6
-The default is @samp{0}, which means that applications can perform
08c3a6
-restartable sequences registration, but @code{sched_getcpu} is not
08c3a6
-accelerated.
08c3a6
+The @code{glibc.pthread.rseq} tunable can be set to @samp{0}, to disable
08c3a6
+restartable sequences support in @theglibc{}.  This enables applications
08c3a6
+to perform direct restartable sequence registration with the kernel.
08c3a6
+The default is @samp{1}, which means that @theglibc{} performs
08c3a6
+registration on behalf of the application.
08c3a6
 
08c3a6
 Restartable sequences are a Linux-specific extension.
08c3a6
 @end deftp
08c3a6
diff --git a/sysdeps/nptl/dl-tunables.list b/sysdeps/nptl/dl-tunables.list
08c3a6
index df2a39ce01858d3b..d24f4be0d08ba407 100644
08c3a6
--- a/sysdeps/nptl/dl-tunables.list
08c3a6
+++ b/sysdeps/nptl/dl-tunables.list
08c3a6
@@ -31,7 +31,7 @@ glibc {
08c3a6
       type: INT_32
08c3a6
       minval: 0
08c3a6
       maxval: 1
08c3a6
-      default: 0
08c3a6
+      default: 1
08c3a6
     }
08c3a6
   }
08c3a6
 }