Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\softirq.c Create Date:2022-07-28 09:04:23
Last Modify:2022-05-22 11:04:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Enter an interrupt context.

Proto:void irq_enter(void)

Type:void

Parameter:Nothing

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  If s_idle_task - is the specified task an idle task?*@p: the task in question.* Return: 1 if @p is an idle task. 0 otherwise. && Not in_interrupt() Then
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.()