函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.h Create Date:2022-07-27 08:29:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:This needs to be inline to optimize for the common case where no extra* work needs to be done.

函数原型:static inline void switch_to_extra(struct task_struct *prev, struct task_struct *next)

返回类型:void

参数:

类型参数名称
struct task_struct *prev
struct task_struct *next
16  next_tif等于任务标志
17  prev_tif等于任务标志
19  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SMP)则
27  prev_tif与等于_TIF_SPEC_IB的反
28  next_tif与等于_TIF_SPEC_IB的反
36  如果此条件成立可能性小(为编译器优化)(next_tif & _TIF_WORK_CTXSW_NEXT || prev_tif & _TIF_WORK_CTXSW_PREV)则__switch_to_xtra(prev, next)
调用者
名称描述
__switch_toswitch_to(x,y) should switch tasks from x to y