kernel/irq/kexec.c

Source file repositories/reference/linux-study-clean/kernel/irq/kexec.c

File Facts

System
Linux kernel
Corpus path
kernel/irq/kexec.c
Extension
.c
Size
870 bytes
Lines
37
Domain
Core OS
Bucket
Scheduler, Processes, Timers, Sync, And Syscalls
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

if (IS_ENABLED(CONFIG_GENERIC_IRQ_KEXEC_CLEAR_VM_FORWARD)) {
			/*
			 * First try to remove the active state from an interrupt which is forwarded
			 * to a VM. If the interrupt is not forwarded, try to EOI the interrupt.
			 */
			check_eoi = irq_set_irqchip_state(i, IRQCHIP_STATE_ACTIVE, false);
		}

		if (check_eoi && chip->irq_eoi && irqd_irq_inprogress(&desc->irq_data))
			chip->irq_eoi(&desc->irq_data);

		irq_shutdown(desc);
	}
}

Annotation

Implementation Notes