* [patch 100/158] include/linux/mmzone.h: fix comment for ISOLATE_UNMAPPED macro
@ 2019-12-01 1:55 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2019-12-01 1:55 UTC (permalink / raw)
To: akpm, dan.j.williams, hannes, haolee.swjtu, linux-mm, mgorman,
mhocko, mm-commits, richard.weiyang, torvalds, vbabka
From: Hao Lee <haolee.swjtu@gmail.com>
Subject: include/linux/mmzone.h: 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.
Link: http://lkml.kernel.org/r/20191024151621.GA20400@haolee.github.io
Signed-off-by: Hao Lee <haolee.swjtu@gmail.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Wei Yang <richard.weiyang@gmail.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
include/linux/mmzone.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/include/linux/mmzone.h~mm-fix-comment-for-isolate_unmapped-macro
+++ a/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)
_
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-12-01 1:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-01 1:55 [patch 100/158] include/linux/mmzone.h: fix comment for ISOLATE_UNMAPPED macro akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).