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