[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240806004518.3183562-1-nphamcs@gmail.com>
Date: Mon, 5 Aug 2024 17:45:18 -0700
From: Nhat Pham <nphamcs@...il.com>
To: akpm@...ux-foundation.org
Cc: hannes@...xchg.org,
yosryahmed@...gle.com,
shakeel.butt@...ux.dev,
linux-mm@...ck.org,
kernel-team@...a.com,
linux-kernel@...r.kernel.org,
flintglass@...il.com,
chengming.zhou@...ux.dev
Subject: [PATCH v3 2/2] zswap: track swapins from disk more accurately (fix)
Squeeze a comment into a single line.
Signed-off-by: Nhat Pham <nphamcs@...il.com>
---
mm/page_io.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/mm/page_io.c b/mm/page_io.c
index 0004c9fbf7e8..aa190e3cb050 100644
--- a/mm/page_io.c
+++ b/mm/page_io.c
@@ -524,9 +524,7 @@ void swap_read_folio(struct folio *folio, struct swap_iocb **plug)
goto finish;
}
- /*
- * We have to read the page from slower devices. Increase zswap protection.
- */
+ /* We have to read from slower devices. Increase zswap protection. */
zswap_folio_swapin(folio);
if (data_race(sis->flags & SWP_FS_OPS)) {
--
2.43.0
Powered by blists - more mailing lists