Does the CPU disable all interrupts on the local CPU before calling interrupt handler? Or does it only disable the special interrupt line, which is being served?
x86 disables all local interrupts except for the NMI of the course before jumping to the interval vector) Linux normally masks specific hurdles and enables the rest of the obstacles (which are not masked), unless a specific flag is given for handler registration in the middle.
Note that this means that your interrupt handler will not run with itself on the same CPU, it can run in the SMP / SMT system as well as running on other CPUs.
Comments
Post a Comment