函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\huge_memory.c Create Date:2022-07-27 17:36:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:unmap_page

函数原型:static void unmap_page(struct page *page)

返回类型:void

参数:

类型参数名称
struct page *page
2413  ttu_flags等于 ignore mlock 按位或 don't age 按位或 do not grab rmap lock: * caller holds it 按位或 split huge PMD if any
2417  VM_BUG_ON_PAGE(!PageHead(page), page)
2419  如果PageAnon(page)则ttu_flags或等于 freeze pte under splitting thp
2422  unmap_success等于ry_to_unmap - try to remove all page table mappings to a page*@page: the page to get unmapped*@flags: action and flags* Tries to remove all the page table entries which are mapping this* page, used in the pageout path. Caller must hold the page lock.
2423  VM_BUG_ON_PAGE(!unmap_success, page)
调用者
名称描述
split_huge_page_to_listThis function splits huge page into normal pages. @page can point to any* subpage of huge page to split. Split doesn't change the position of @page.* Only caller must hold pin on the @page, otherwise split fails with -EBUSY.* The huge page must be locked.