Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\preempt.h Create Date:2022-07-28 05:35:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:clear_preempt_need_resched

Proto:static __always_inline void clear_preempt_need_resched(void)

Type:void

Parameter:Nothing

65  raw_cpu_or_4(__preempt_count, We use the MSB mostly because its available )
Caller
NameDescribe
__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