Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-28 08:57:33
Last Modify:2020-03-17 11:04:53 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:alloc_thread_stack_node

Proto:static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node)

Type:unsigned long

Parameter:

TypeParameterName
struct task_struct *tsk
intnode
260  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.
263  If Value is more likely to compile time(page) Then
264  pointer of stack = page_address(page)
265  Return pointer of stack
267  Return NULL
Caller
NameDescribe
dup_task_structReplication process and set stack