[folded-merged] zswap-same-filled-pages-handling-v2.patch removed from -mm tree

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

 



The patch titled
     Subject: zswap-same-filled-pages-handling-v2
has been removed from the -mm tree.  Its filename was
     zswap-same-filled-pages-handling-v2.patch

This patch was dropped because it was folded into zswap-same-filled-pages-handling.patch

------------------------------------------------------
From: Srividya Desireddy <srividya.dr@xxxxxxxxxxx>
Subject: zswap-same-filled-pages-handling-v2

Added memset_l instead of for loop.

Signed-off-by: Srividya Desireddy <srividya.dr@xxxxxxxxxxx>
Cc: Dan Streetman <ddstreet@xxxxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/zswap.c |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff -puN mm/zswap.c~zswap-same-filled-pages-handling-v2 mm/zswap.c
--- a/mm/zswap.c~zswap-same-filled-pages-handling-v2
+++ a/mm/zswap.c
@@ -984,16 +984,10 @@ static int zswap_is_page_same_filled(voi
 
 static void zswap_fill_page(void *ptr, unsigned long value)
 {
-	unsigned int pos;
 	unsigned long *page;
 
 	page = (unsigned long *)ptr;
-	if (value == 0)
-		memset(page, 0, PAGE_SIZE);
-	else {
-		for (pos = 0; pos < PAGE_SIZE / sizeof(*page); pos++)
-			page[pos] = value;
-	}
+	memset_l(page, value, PAGE_SIZE / sizeof(unsigned long));
 }
 
 /*********************************
_

Patches currently in -mm which might be from srividya.dr@xxxxxxxxxxx are

zswap-same-filled-pages-handling.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