[folded-merged] mm-swap-sort-swap-entries-before-free-fix.patch removed from -mm tree

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

 



The patch titled
     Subject: mm-swap-sort-swap-entries-before-free-fix
has been removed from the -mm tree.  Its filename was
     mm-swap-sort-swap-entries-before-free-fix.patch

This patch was dropped because it was folded into mm-swap-sort-swap-entries-before-free.patch

------------------------------------------------------
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: mm-swap-sort-swap-entries-before-free-fix

tweak comment

Cc: Huang Ying <ying.huang@xxxxxxxxx>
Cc: Hugh Dickins <hughd@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/swapfile.c |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff -puN mm/swapfile.c~mm-swap-sort-swap-entries-before-free-fix mm/swapfile.c
--- a/mm/swapfile.c~mm-swap-sort-swap-entries-before-free-fix
+++ a/mm/swapfile.c
@@ -1218,10 +1218,9 @@ void swapcache_free_entries(swp_entry_t
 	p = NULL;
 
 	/*
-	 * Sort swap entries by swap device, so each lock is only
-	 * taken once.  Although nr_swapfiles isn't absolute correct,
-	 * but the overhead of sort() is so low that it isn't
-	 * necessary to optimize further.
+	 * Sort swap entries by swap device, so each lock is only taken once.
+	 * nr_swapfiles isn't absolutely correct, but the overhead of sort() is
+	 * so low that it isn't necessary to optimize further.
 	 */
 	if (nr_swapfiles > 1)
 		sort(entries, n, sizeof(entries[0]), swp_entry_cmp, NULL);
_

Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are

i-need-old-gcc.patch
mm-swap-sort-swap-entries-before-free.patch

--
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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