diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2020-10-13 16:52:15 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2020-10-13 18:38:30 -0700 |
commit | a3e7bea060724c760906218f1c232c75ecb0c767 (patch) | |
tree | 126ec0cfcea13205b00f5b138daadc49ac580ef9 /mm/swap.c | |
parent | 6f4dd8de4835563de9bae797ce1d7a13465a7a7d (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 <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.c | 2 |
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(). */ |