School of Computer Science & Engineering
University of New South Wales
Advanced Operating Systems
COMP9242 2002/S2
Next: Preemptions and Preempters
Up: 01-l4
Previous: Page Faults and Pagers
Subsections
Totally analogous to page faults:
- Each thread has an excepter
- If a thread triggers an exception, the kernel invokes the thread's
excepter by:
- sending an IPC message to the pager on the faulter's behalf,
- catching the pager's reply and continue the faulter.
- The excepter may chose not to reply, leaving the excepting thread
blocked forever.
Virtualisation of hardware:
- A thread installs its own interrupt vector, using
(kernel-emulated) processor features.
The kernel handles some exceptions internally (TLB miss, system call).
Gernot Heiser
2002-08-07