From: Nhat Pham Date: Tue, 6 Aug 2024 00:45:18 +0000 (-0700) Subject: zswap: track swapins from disk more accurately (fix) X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=176f7818034b6b231451a90d7d988c118da1f17b;p=users%2Fjedix%2Flinux-maple.git zswap: track swapins from disk more accurately (fix) Squeeze a comment into a single line. Link: https://lkml.kernel.org/r/20240806004518.3183562-1-nphamcs@gmail.com Signed-off-by: Nhat Pham Cc: Chengming Zhou Cc: Johannes Weiner Cc: Shakeel Butt Cc: Takero Funaki Cc: Yosry Ahmed Signed-off-by: Andrew Morton --- 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)) {