Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\idle.c Create Date:2022-07-28 09:37:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:static void dequeue_task_idle(struct rq *rq, struct task_struct *p, int flags)

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct task_struct *p
intflags
416  raw_spin_unlock_irq( & runqueue lock: )
417  printk(r conditions "bad: scheduling from the idle thread!\n")
418  dump_stack()
419  raw_spin_lock_irq( & runqueue lock: )