Messages in this thread Patch in this message | | | Date | Thu, 24 Oct 2019 15:16:21 +0000 | From | Hao Lee <> | 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@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
| |