函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\migrate.c Create Date:2022-07-27 17:32:45
Last Modify:2022-05-20 09:53:13 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:migrate_page_copy

函数原型:void migrate_page_copy(struct page *newpage, struct page *page)

返回类型:void

参数:

类型参数名称
struct page *newpage
struct page *page
657  如果PageHuge() only returns true for hugetlbfs pages, but not for normal or* transparent huge pages. See the PageTransHuge() documentation for more* details.PageHuge() only returns true for hugetlbfs pages, but not for* normal or transparent huge pages.* PageTransHuge() returns true for both transparent huge and* hugetlbfs pages, but not normal pages. PageTransHuge() can only becopy_huge_page(newpage, page)
659  否则copy_highpage(newpage, page)
662  Copy the page to its new location
调用者
名称描述
migrate_pageCommon logic to directly migrate a single LRU page suitable for* pages that do not use PagePrivate/PagePrivate2.* Pages are locked upon entry and exit.
__buffer_migrate_page
iomap_migrate_page
aio_migratepage