函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\page_owner.h Create Date:2022-07-27 15:46:52
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_page_owner_migrate_reason

函数原型:static inline void set_page_owner_migrate_reason(struct page *page, int reason)

返回类型:void

参数:

类型参数名称
struct page *page
intreason
46  如果static_branch_unlikely( & page_owner_inited)则__set_page_owner_migrate_reason(page, reason)
调用者
名称描述
move_hugetlb_state
unmap_and_moveObtain the lock on page, remove all ptes and migrate the page* to the newly allocated page in newpage.