aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2020-10-13 16:52:15 -0700
committerLinus Torvalds <[email protected]>2020-10-13 18:38:30 -0700
commita3e7bea060724c760906218f1c232c75ecb0c767 (patch)
tree126ec0cfcea13205b00f5b138daadc49ac580ef9
parent6f4dd8de4835563de9bae797ce1d7a13465a7a7d (diff)
mm/swap.c: fix confusing comment in release_pages()
Since commit 07d802699528 ("mm: devmap: refactor 1-based refcounting for ZONE_DEVICE pages"), we have renamed the func put_devmap_managed_page() to page_is_devmap_managed(). Signed-off-by: Miaohe Lin <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: John Hubbard <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--mm/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swap.c b/mm/swap.c
index 8c936404f254..43288a0e11bc 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -902,7 +902,7 @@ void release_pages(struct page **pages, int nr)
}
/*
* ZONE_DEVICE pages that return 'false' from
- * put_devmap_managed_page() do not require special
+ * page_is_devmap_managed() do not require special
* processing, and instead, expect a call to
* put_page_testzero().
*/