函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This is the entry point to schedule() from kernel preemption* off of irq context.* Note, that this is called and return with irqs disabled. This will* protect us against recursive calling from irq.

函数原型:asmlinkage __visible void __sched preempt_schedule_irq(void)

返回类型:void

参数:

4336  BUG_ON(抢占计数值 || !已禁止中断())
4338  prev_state等于exception_enter()
4340  循环
4341  禁止抢占()
4342  开中断()
4343  调度器
4344  禁止中断()
4345  sched_preempt_enable_no_resched()
4346 need_resched()循环
4348  exception_exit(prev_state)