函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\context_tracking.c Create Date:2022-07-27 15:11:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:context_tracking_cpu_set

函数原型:void __init context_tracking_cpu_set(int cpu)

返回类型:void

参数:

类型参数名称
intcpu
191  __initdata等于initialized
193  如果非per_cpu(active, cpu)则
194  per_cpu(active, cpu) = true
195  Advanced usage; refcount, branch is enabled when: count != 0( & user_exit - called when userspace enters the kernel*@dummy: dummy arg to make trace event macro happy* This event occurs when userspace enters the kernel through* an exception or a syscall.)
198  如果initialized则返回
205  Set thread flags in other task's structures.* See asm/thread_info.h for TIF_xxxx flags available:
206  WARN_ON_ONCE(!tasklist_empty())
208  initialized = true