Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-28 05:59:47
Last Modify:2021-07-28 10:30:23 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:clear_tsk_need_resched

Proto:static inline void clear_tsk_need_resched(struct task_struct *tsk)

Type:void

Parameter:

TypeParameterName
struct task_struct *tsk
1767  clear_tsk_thread_flag(tsk, scheduling necessary )
Caller
NameDescribe
dup_task_structReplication process and set stack
__schedule__schedule() is the main scheduler function.* The main means of driving the scheduler and thus entering this function are:* 1. Explicit blocking: mutex, semaphore, waitqueue, etc.* 2. TIF_NEED_RESCHED flag is checked on interrupt and userspace return