Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:post_alloc_hook

Proto:inline void post_alloc_hook(struct page *page, unsigned int order, gfp_t gfp_flags)

Type:void

Parameter:

TypeParameterName
struct page *page
unsigned intorder
gfp_tgfp_flags
2143  set_page_private(page, 0)
2144  Turn a non-refcounted page (->_refcount == 0) into refcounted with* a count of one.
2146  arch_alloc_page(page, order)
2147  If For use in fast paths after init_debug_pagealloc() has run, or when a* false negative result is not harmful when called too early. Then kernel_map_pages(page, 1 << order, 1)
2149  kasan_alloc_pages(page, order)
2150  kernel_poison_pages(page, 1 << order, 1)
2151  set_page_owner(page, order, gfp_flags)
Caller
NameDescribe
prep_new_page
unset_migratetype_isolate
split_map_pages