aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/swap.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2020-10-13 16:52:15 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-13 18:38:30 -0700
commita3e7bea060724c760906218f1c232c75ecb0c767 (patch)
tree126ec0cfcea13205b00f5b138daadc49ac580ef9 /mm/swap.c
parentmm: remove superfluous __ClearPageActive() (diff)
downloadwireguard-linux-a3e7bea060724c760906218f1c232c75ecb0c767.tar.xz
wireguard-linux-a3e7bea060724c760906218f1c232c75ecb0c767.zip
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 <linmiaohe@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: John Hubbard <jhubbard@nvidia.com> Link: https://lkml.kernel.org/r/20200905084453.19353-1-linmiaohe@huawei.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
-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().
*/