On Nov 17, 2007 6:44 AM, Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote: > Hi, > > I have these questions regarding page faults and interrupts on the 386. > > Can page faults happen while a CPU is executing an interrupt handler? Yes. One CPU can be executing the interrupt handler, and page faults happening on another CPU. Modern dual-core made this scenario not impossible. Even if the interrupt is disable on the CPU handling the interrupt handler, it is only confined to that CPU, not the rest. > As far as I know, interrupt handlers are entered with interrupts > disabled. Does this mask page faults? Yes, page faults is masked out with interrupt disabling, as it is not a NMI. If so, what happens when the > kernel faults on swapped-out pages within interrupts? Basically OS crashes, if the interrupt is disabled at that moment attempt to access memory contents which is not there. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ