top-halves

Which stack is used by Interrupt Handler - Linux

北城以北 提交于 2019-11-30 17:43:31
问题 In a multitasking system when any hardware generates a interrupt to a particular CPU, where CPU can be performing either of below cases unless it is already serving a ISR: User mode process is executing on CPU Kernel mode process is executing on CPU Would like to know which stack is used by interrupt handler in above two situations and why ? 回答1: All interrupts are handled by kernel. That is done by interrupt handler written for that particular interrupt. For Interrupt handler there is IRQ