Function report |
Source Code:mm\hugetlb.c |
Create Date:2022-07-28 15:29:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:isolate_huge_page
Proto:bool isolate_huge_page(struct page *page, struct list_head *list)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct list_head * | list |
5019 | bool ret = true |
5021 | VM_BUG_ON_PAGE(!PageHead(page), page) |
5022 | spin_lock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
5027 | clear_page_huge_active(page) |
5029 | unlock : |
5030 | spin_unlock( & Protects updates to hugepage_freelists, hugepage_activelist, nr_huge_pages,* free_huge_pages, and surplus_huge_pages.) |
5031 | Return ret |
Name | Describe |
---|---|
queue_pages_hugetlb | |
add_page_for_migration | Resolves the given address to a struct page, isolates it from the LRU and* puts it to the given pagelist |
soft_offline_huge_page |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |