Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\process.h Create Date:2022-07-28 07:29:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This needs to be inline to optimize for the common case where no extra* work needs to be done.

Proto:static inline void switch_to_extra(struct task_struct *prev, struct task_struct *next)

Type:void

Parameter:

TypeParameterName
struct task_struct *prev
struct task_struct *next
16  next_tif = Per task flags (PF_*), defined further below:
17  prev_tif = Per task flags (PF_*), defined further below:
19  If IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SMP) Then
36  If Value for the false possibility is greater at compile time(next_tif & _TIF_WORK_CTXSW_NEXT || prev_tif & _TIF_WORK_CTXSW_PREV) Then __switch_to_xtra(prev, next)
Caller
NameDescribe
__switch_toswitch_to(x,y) should switch tasks from x to y