函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-27 09:57:21
Last Modify:2020-03-17 11:04:53 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:设置任务栈

函数原型:void set_task_stack_end_magic(struct task_struct *tsk)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk
855  stackend等于Return the address of the last usable long on the stack.* When the stack grows down, this is just above the thread* info struct. Going any lower will corrupt the threadinfo.* When the stack grows up, this is the highest address.
856  stackend等于STACK_END_MAGIC
调用者
名称描述
dup_task_struct复制进程并设置栈
start_kernel启动内核