[merged mm-nonmm-stable] scripts-bloat-o-meter-use-the-reverse-flag-for-sort.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: scripts/bloat-o-meter: use the reverse flag for sort
has been removed from the -mm tree.  Its filename was
     scripts-bloat-o-meter-use-the-reverse-flag-for-sort.patch

This patch was dropped because it was merged into the mm-nonmm-stable branch
of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

------------------------------------------------------
From: Alexander Pantyukhin <apantykhin@xxxxxxxxx>
Subject: scripts/bloat-o-meter: use the reverse flag for sort
Date: Fri, 6 Jan 2023 14:13:19 +0500

The sort function has the inbuilt reversal option.  We can use it to save
some time.

Link: https://lkml.kernel.org/r/20230106091319.3824-1-apantykhin@xxxxxxxxx
Signed-off-by: Alexander Pantyukhin <apantykhin@xxxxxxxxx>
Cc: Nikolay Borisov <nborisov@xxxxxxxx>
Cc: Paul Gortmaker <paul.gortmaker@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


--- a/scripts/bloat-o-meter~scripts-bloat-o-meter-use-the-reverse-flag-for-sort
+++ a/scripts/bloat-o-meter
@@ -80,8 +80,7 @@ def calc(oldfile, newfile, format):
         if d<0: shrink, down = shrink+1, down-d
         delta.append((d, name))
 
-    delta.sort()
-    delta.reverse()
+    delta.sort(reverse=True)
     return grow, shrink, add, remove, up, down, delta, old, new, otot, ntot
 
 def print_result(symboltype, symbolformat):
_

Patches currently in -mm which might be from apantykhin@xxxxxxxxx are





[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux