函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\idle.c Create Date:2022-07-27 10:38:26
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:It is not legal to sleep in the idle task - print a warning* message if some code attempts to do it:

函数原型:static void dequeue_task_idle(struct rq *rq, struct task_struct *p, int flags)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct task_struct *p
intflags
416  raw_spin_unlock_irq( & 运行队列锁)
417  printk(r conditions "bad: scheduling from the idle thread!\n")
418  dump_stack()
419  关闭本地中断,获取所要保护的运行队列(runqueue)的自旋锁(spinlock),为查找可运行进程做准备。( & 运行队列锁)