函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\task_stack.h Create Date:2022-07-27 06:42:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:put_task_stack

函数原型:static inline void put_task_stack(struct task_struct *tsk)

返回类型:void

参数:

类型参数名称
struct task_struct *tsk

NULL

调用者
名称描述
collect_syscall
get_wchanCalled from fs/proc with a reference on @p to find the function* which called into schedule(). This needs to be done carefully* because the task might wake up and we might look at a stack* changing under us.
copy_process创建进程
finish_task_switchsh_task_switch - clean up after a task-switch*@prev: the thread we just switched away from
sched_show_task
stack_trace_save_tskstack_trace_save_tsk - Save a task stack trace into a storage array*@task: The task to examine*@store: Pointer to storage array*@size: Size of the storage array*@skipnr: Number of entries to skip at the start of the stack trace
kmemleak_scanScan data sections and all the referenced memory blocks allocated via the* kernel's standard allocators. This function must be called with the* scan_mutex held.