Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\huge_memory.c Create Date:2022-07-28 16:02:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:unmap_page

Proto:static void unmap_page(struct page *page)

Type:void

Parameter:

TypeParameterName
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  If PageAnon(page) Then 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)
Caller
NameDescribe
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.