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