Home
last modified time | relevance | path

Searched refs:zero_page (Results 1 – 1 of 1) sorted by relevance

/mm/
Dhuge_memory.c93 struct page *zero_page; in get_huge_zero_page() local
98 zero_page = alloc_pages((GFP_TRANSHUGE | __GFP_ZERO) & ~__GFP_MOVABLE, in get_huge_zero_page()
100 if (!zero_page) { in get_huge_zero_page()
106 if (cmpxchg(&huge_zero_page, NULL, zero_page)) { in get_huge_zero_page()
108 __free_pages(zero_page, compound_order(zero_page)); in get_huge_zero_page()
111 WRITE_ONCE(huge_zero_pfn, page_to_pfn(zero_page)); in get_huge_zero_page()
159 struct page *zero_page = xchg(&huge_zero_page, NULL); in shrink_huge_zero_page_scan() local
160 BUG_ON(zero_page == NULL); in shrink_huge_zero_page_scan()
162 __free_pages(zero_page, compound_order(zero_page)); in shrink_huge_zero_page_scan()
711 struct page *zero_page) in set_huge_zero_page() argument
[all …]