Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\ring_buffer.c Create Date:2022-07-28 13:42:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rb_alloc_aux_page

Proto:static struct page *rb_alloc_aux_page(int node, int order)

Type:struct page

Parameter:

TypeParameterName
intnode
intorder
607  If order > Free memory management - zoned buddy allocator. Then order = Free memory management - zoned buddy allocator.
610  Do
611  page = Allocate pages, preferring the node given as nid. When nid == NUMA_NO_NODE,* prefer the current CPU's closest node. Otherwise node must be valid and* online.
612  When Not page && order-- cycle
614  If page && order Then
621  split_page(page, order)
622  Private page markings that may be used by the filesystem that owns the page* for its own purposes.* - PG_private and PG_private_2 cause releasepage() and co to be invoked
623  set_page_private(page, order)
626  Return page
Caller
NameDescribe
rb_alloc_aux