Hard interrupts:
1. Synchronous interrupt (internal interrupt/exception)
The interrupt that is triggered within the core when the interrupt occurs. Wait for the pipeline to complete before you can perform the interrupt. Contains soft interrupt instructions. The broken flag is set by the software or hardware.
2. Asynchronous interrupt (external interrupt/interrupt)
The interrupt that is triggered by the core outside when the interrupt occurs. Does not wait for the pipeline to complete, it executes immediately. The pipeline is void at this time. The broken flag is set by the hardware.
Soft Interrupt:
The lower half of the Linux interrupt mechanism (lower part: Soft interrupt, normal process processing). The software simulates the hardware interrupt and achieves the function of the lower half of the asynchronous call service function.
Soft Interrupt Command:
After the interrupt flag is set by the program, the hardware then performs the related operation of the interrupt.
Signal:
Hardware interrupts are simulated on the software. Interrupts a user process, and instead handles the corresponding "interrupt". This series of actions includes signal processing, signal response, signal generation--return.
A concise explanation of Linux hard interrupts, soft interrupts, soft interrupt instructions, signals