Soft interrupts should be implemented. Among other tasks, callout functions and swtch() can be called from a soft interrupt rather than from hardclock() and/or from syscall().
Partially implemented in r411. Run through the callouts list every time an interrupt returns to a kernel or user process (outside of any interrupts). It would be nice to optimize this process, though.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Soft interrupts instead of hardware interrupts are now masked throughout more of the system. I would still like to clean up/optimize soft interrupts and rename the related variables.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Partially implemented in r411. Run through the callouts list every time an interrupt returns to a kernel or user process (outside of any interrupts). It would be nice to optimize this process, though.
Soft interrupts instead of hardware interrupts are now masked throughout more of the system. I would still like to clean up/optimize soft interrupts and rename the related variables.