Home
last modified time | relevance | path

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

/mm/
Dhuge_memory.c193 struct page *zero_page; in get_huge_zero_page() local
198 zero_page = alloc_pages((GFP_TRANSHUGE | __GFP_ZERO) & ~__GFP_MOVABLE, in get_huge_zero_page()
200 if (!zero_page) { in get_huge_zero_page()
205 if (cmpxchg(&huge_zero_page, NULL, zero_page)) { in get_huge_zero_page()
207 __free_pages(zero_page, compound_order(zero_page)); in get_huge_zero_page()
210 WRITE_ONCE(huge_zero_pfn, page_to_pfn(zero_page)); in get_huge_zero_page()
259 struct page *zero_page = xchg(&huge_zero_page, NULL); in shrink_huge_zero_page_scan() local
260 BUG_ON(zero_page == NULL); in shrink_huge_zero_page_scan()
262 __free_pages(zero_page, compound_order(zero_page)); in shrink_huge_zero_page_scan()
1007 struct page *zero_page) in set_huge_zero_page() argument
[all …]