[folded-merged] page_io-zswap-do-not-crash-the-kernel-on-decompression-failure-fix.patch removed from -mm tree

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

 



The quilt patch titled
     Subject: page_io: zswap: do not crash the kernel on decompression failure (fix)
has been removed from the -mm tree.  Its filename was
     page_io-zswap-do-not-crash-the-kernel-on-decompression-failure-fix.patch

This patch was dropped because it was folded into page_io-zswap-do-not-crash-the-kernel-on-decompression-failure.patch

------------------------------------------------------
From: Nhat Pham <nphamcs@xxxxxxxxx>
Subject: page_io: zswap: do not crash the kernel on decompression failure (fix)
Date: Thu, 6 Mar 2025 14:24:53 -0800

Fix the documentation of zswap_load() - should say load a folio (rather
than a page), and should be explicit that the folio is unlocked and marked
up-to-date in the success case.

Link: https://lkml.kernel.org/r/20250306222453.1269456-1-nphamcs@xxxxxxxxx
Signed-off-by: Nhat Pham <nphamcs@xxxxxxxxx>
Suggested-by: Yosry Ahmed <yosry.ahmed@xxxxxxxxx>
Cc: Chengming Zhou <chengming.zhou@xxxxxxxxx>
Cc: Johannes Weiner <hannes@xxxxxxxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/zswap.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/mm/zswap.c~page_io-zswap-do-not-crash-the-kernel-on-decompression-failure-fix
+++ a/mm/zswap.c
@@ -1629,10 +1629,11 @@ check_old:
 }
 
 /**
- * zswap_load() - load a page from zswap
+ * zswap_load() - load a folio from zswap
  * @folio: folio to load
  *
- * Return: 0 on success, or one of the following error codes:
+ * Return: 0 on success, with the folio unlocked and marked up-to-date, or one
+ * of the following error codes:
  *
  *  -EIO: if the swapped out content was in zswap, but could not be loaded
  *  into the page due to a decompression failure. The folio is unlocked, but
_

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

page_io-zswap-do-not-crash-the-kernel-on-decompression-failure.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