Existing Methods for H/W to S/W Migration
Busy waiting monopolizes CPU
- CPU executes instructions to wait or poll
- Offers fast performance but wastes CPU time
Interrupt-driven approach shares CPU
- Guest function is triggered by interrupt
- Relinquishes control after event completion
- Slow, as context switch takes tens or hundreds of cycles