函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-27 10:37:29
Last Modify:2022-05-22 13:40:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sys_sched_yield - yield the current processor to other threads.* This function yields the current CPU to other tasks. If there are no* other threads running on this CPU then this function will return.* Return: 0.

函数原型:static void do_sched_yield(void)

返回类型:void

参数:

5601  rq等于this_rq_lock_irq( & rf)
5603  schedstat_inc(yld_count)
5604  yield_task(rq)
5610  禁止抢占()
5611  rq_unlock(rq, & rf)
5612  sched_preempt_enable_no_resched()
5614  进程调度
调用者
名称描述
sys_sched_yield
yieldyield - yield the current processor to other threads