mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-04-24 14:07:52 -04:00
mm/swap.c: fix confusing comment in release_pages()
Since commit 07d8026995
("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>
This commit is contained in:
parent
6f4dd8de48
commit
a3e7bea060
1 changed files with 1 additions and 1 deletions
|
@ -902,7 +902,7 @@ void release_pages(struct page **pages, int nr)
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
* ZONE_DEVICE pages that return 'false' from
|
* 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
|
* processing, and instead, expect a call to
|
||||||
* put_page_testzero().
|
* put_page_testzero().
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue