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:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_mmap_alloc_page

Proto:static void *perf_mmap_alloc_page(int cpu)

Type:void

Parameter:

TypeParameterName
intcpu
785  node = If cpu == -1 Then cpu Else cpu_to_node(cpu)
786  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.
787  If Not page Then Return NULL
790  Return page_address(page)
Caller
NameDescribe
rb_alloc