Function report |
Source Code:mm\huge_memory.c |
Create Date:2022-07-28 16:00:30 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_huge_zero_page
Proto:static struct page *get_huge_zero_page(void)
Type:struct page
Parameter:Nothing
83 | retry : |
87 | zero_page = alloc_pages((GFP_TRANSHUGE | __GFP_ZERO) & ~ZONE_MOVABLE allowed , HPAGE_PMD_ORDER) |
89 | If Not zero_page Then |
91 | Return NULL |
95 | If cmpxchg( & huge_zero_page, NULL, zero_page) Then |
102 | atomic_set( & huge_zero_refcount, 2) |
103 | preempt_enable() |
104 | Return READ_ONCE(huge_zero_page) |
Name | Describe |
---|---|
mm_get_huge_zero_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 |