函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Enter an interrupt context.

函数原型:void irq_enter(void)

返回类型:void

参数:

347  _irq_enter - inform RCU that current CPU is entering irq away from idle* Enter an interrupt handler, which might possibly result in exiting* idle mode, in other words, entering the mode in which read-side critical* sections can occur
348  如果是空闲任务且非in_interrupt()则
353  local_bh_disable()
354  tick_irq_enter()
355  Special-case - softirqs can safely be enabled by __do_softirq(),* without processing still-pending softirqs:
358  It is safe to do non-atomic ops on ->hardirq_context,* because NMI handlers may not preempt and the ops are* always balanced, so the interrupted value of ->hardirq_context* will always be restored.()
调用者
名称描述
smp_reschedule_interruptReschedule call back. KVM uses this interrupt to force a cpu out of* guest mode