When does the control passes from user mode to kernel mode in a Linux System?
Interview Answers
Anonymous
Jun 5, 2009
System calls ,H/w Interrupts and last which I did not mention was Exceptions
3
Anonymous
Feb 29, 2020
Well! Exceptions are software interrupts which are synchronous while HW interrupts are asynchronous and caused by hardware devices connected to machine. Both types of interrupts are taken care by their respective interrupt handlers, the top halves. In either case, to service interrupts, execution switches from user space to kernel space.