Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\setup_percpu.c Create Date:2022-07-28 08:25:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pcpu_alloc_bootmem - NUMA friendly alloc_bootmem wrapper for percpu*@cpu: cpu to allocate for*@size: size allocation in bytes*@align: alignment* Allocate @size bytes aligned at @align for cpu @cpu

Proto:static void *__init pcpu_alloc_bootmem(unsigned int cpu, unsigned long size, unsigned long align)

Type:void

Parameter:

TypeParameterName
unsigned intcpu
unsigned longsize
unsigned longalign
103  goal = __pa(The maximum address that we can perform a DMA transfer to on this platform )
124  Return memblock_alloc_from(size, align, goal)
Caller
NameDescribe
pcpu_fc_allocHelpers for first chunk memory allocation