5. A CPU with interrupt-driven I/O is busy servicing a disk request. While the CPU is midway through the disk-service routine, another I/O interrupt occurs.
a) What happens next?
b) Is it a problem?
c) If not, why not? If so, what can be done about it?
a) A CPU should disable all interrupts before it enters into an interrupt service routine, so the interrupt shouldn’t happen in the first place.
b) No, it is not a problem.
c) If interrupts are disabled, the second interrupt would never happen so it is not a problem.