93dc2d
commit 0884724a95b60452ad483dbe086d237d02ba624d
93dc2d
Author: Florian Weimer <fweimer@redhat.com>
93dc2d
Date:   Tue Dec 14 12:37:44 2021 +0100
93dc2d
93dc2d
    elf: Use new dependency sorting algorithm by default
93dc2d
    
93dc2d
    The default has to change eventually, and there are no known failures
93dc2d
    that require a delay.
93dc2d
    
93dc2d
    Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
93dc2d
93dc2d
diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list
93dc2d
index 46ffb2378416f90f..ffcd7f18d4fafb91 100644
93dc2d
--- a/elf/dl-tunables.list
93dc2d
+++ b/elf/dl-tunables.list
93dc2d
@@ -162,7 +162,7 @@ glibc {
93dc2d
       type: INT_32
93dc2d
       minval: 1
93dc2d
       maxval: 2
93dc2d
-      default: 1
93dc2d
+      default: 2
93dc2d
     }
93dc2d
   }
93dc2d
 }
93dc2d
diff --git a/elf/tst-rtld-list-tunables.exp b/elf/tst-rtld-list-tunables.exp
93dc2d
index 9bf572715f996ca6..44e4834cfb431633 100644
93dc2d
--- a/elf/tst-rtld-list-tunables.exp
93dc2d
+++ b/elf/tst-rtld-list-tunables.exp
93dc2d
@@ -10,6 +10,6 @@ glibc.malloc.tcache_max: 0x0 (min: 0x0, max: 0x[f]+)
93dc2d
 glibc.malloc.tcache_unsorted_limit: 0x0 (min: 0x0, max: 0x[f]+)
93dc2d
 glibc.malloc.top_pad: 0x0 (min: 0x0, max: 0x[f]+)
93dc2d
 glibc.malloc.trim_threshold: 0x0 (min: 0x0, max: 0x[f]+)
93dc2d
-glibc.rtld.dynamic_sort: 1 (min: 1, max: 2)
93dc2d
+glibc.rtld.dynamic_sort: 2 (min: 1, max: 2)
93dc2d
 glibc.rtld.nns: 0x4 (min: 0x1, max: 0x10)
93dc2d
 glibc.rtld.optional_static_tls: 0x200 (min: 0x0, max: 0x[f]+)
93dc2d
diff --git a/manual/tunables.texi b/manual/tunables.texi
93dc2d
index 10f4d75993f9940f..7c3b28d029410a6f 100644
93dc2d
--- a/manual/tunables.texi
93dc2d
+++ b/manual/tunables.texi
93dc2d
@@ -318,7 +318,7 @@ value of @samp{2}, a different algorithm is used, which implements a
93dc2d
 topological sort through depth-first search, and does not exhibit the
93dc2d
 performance issues of @samp{1}.
93dc2d
 
93dc2d
-The default value of this tunable is @samp{1}.
93dc2d
+The default value of this tunable is @samp{2}.
93dc2d
 @end deftp
93dc2d
 
93dc2d
 @node Elision Tunables