[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191024151621.GA20400@haolee.github.io>
Date: Thu, 24 Oct 2019 15:16:21 +0000
From: Hao Lee <haolee.swjtu@...il.com>
To: akpm@...ux-foundation.org
Cc: vbabka@...e.cz, dan.j.williams@...el.com, mhocko@...e.com,
richard.weiyang@...il.com, mgorman@...hsingularity.net,
hannes@...xchg.org, arunks@...eaurora.org, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, haolee.swjtu@...il.com
Subject: [PATCH] mm: fix comment for ISOLATE_UNMAPPED macro
Both file-backed pages and anonymous pages can be unmapped.
ISOLATE_UNMAPPED is not just for file-backed pages.
Signed-off-by: Hao Lee <haolee.swjtu@...il.com>
---
include/linux/mmzone.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h
index b1f274b6d3c3..9e47289a4511 100644
--- a/include/linux/mmzone.h
+++ b/include/linux/mmzone.h
@@ -308,7 +308,7 @@ struct lruvec {
#endif
};
-/* Isolate unmapped file */
+/* Isolate unmapped pages */
#define ISOLATE_UNMAPPED ((__force isolate_mode_t)0x2)
/* Isolate for asynchronous migration */
#define ISOLATE_ASYNC_MIGRATE ((__force isolate_mode_t)0x4)
--
2.14.5
Powered by blists - more mailing lists