* [PATCH] mm: fix comment for ISOLATE_UNMAPPED macro
@ 2019-10-24 15:16 Hao Lee
0 siblings, 0 replies; only message in thread
From: Hao Lee @ 2019-10-24 15:16 UTC (permalink / raw)
To: akpm
Cc: vbabka, dan.j.williams, mhocko, richard.weiyang, mgorman, hannes,
arunks, linux-mm, linux-kernel, haolee.swjtu
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@gmail.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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-10-24 15:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-24 15:16 [PATCH] mm: fix comment for ISOLATE_UNMAPPED macro Hao Lee
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.