[folded-merged] zram-try-to-avoid-worst-case-scenario-on-same-element-pages-update.patch removed from -mm tree

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

 



The patch titled
     Subject: zram: try to avoid worst-case scenario on same element pages
has been removed from the -mm tree.  Its filename was
     zram-try-to-avoid-worst-case-scenario-on-same-element-pages-update.patch

This patch was dropped because it was folded into zram-try-to-avoid-worst-case-scenario-on-same-element-pages.patch

------------------------------------------------------
From: Taejoon Song <taejoon.song@xxxxxxx>
Subject: zram: try to avoid worst-case scenario on same element pages

fix off-by-one

Link: http://lkml.kernel.org/r/1578642001-11765-1-git-send-email-taejoon.song@xxxxxxx
Signed-off-by: Taejoon Song <taejoon.song@xxxxxxx>
Acked-by: Minchan Kim <minchan@xxxxxxxxxx>
Cc: Sergey Senozhatsky <sergey.senozhatsky.work@xxxxxxxxx>
Cc: Jens Axboe <axboe@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/block/zram/zram_drv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/block/zram/zram_drv.c~zram-try-to-avoid-worst-case-scenario-on-same-element-pages-update
+++ a/drivers/block/zram/zram_drv.c
@@ -217,7 +217,7 @@ static bool page_same_filled(void *ptr,
 	if (val != page[last_pos])
 		return false;
 
-	for (pos = 1; pos < last_pos - 1; pos++) {
+	for (pos = 1; pos < last_pos; pos++) {
 		if (val != page[pos])
 			return false;
 	}
_

Patches currently in -mm which might be from taejoon.song@xxxxxxx are

zram-try-to-avoid-worst-case-scenario-on-same-element-pages.patch




[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