Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:putback_active_hugepage

Proto:void putback_active_hugepage(struct page *page)

Type:void

Parameter:

TypeParameterName
struct page *page
5036  VM_BUG_ON_PAGE(!PageHead(page), page)
5037  spin_lock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.)
5038  ver called for tail page
5039  list_move_tail - delete from one list and add as another's tail*@list: the entry to move*@head: the head that will follow our entry
5040  spin_unlock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.)
5041  Perform a free_page(), also freeing any swap cache associated with* this page if it is the last user of the page.
Caller
NameDescribe
putback_movable_pagesPut previously isolated pages back onto the appropriate lists* from where they were once taken off for compaction/migration.* This function shall be used whenever the isolated pageset has been* built from lru, balloon, hugetlbfs page
unmap_and_move_huge_pageCounterpart of unmap_and_move_page() for hugepage migration