what are the different ways the Linux can swich from User
Space to Kernel Space & vice-versa ?
Answers were Sorted based on User's Feedback
Answer / neo
There are 2 situations when Linux can switch from user Space
to Kernel Space:-
1) by doing System calls
2) When interrupt comes (to handle interrupt)
Linux can switch from kernel Space to User space:-
1) process in kernel mode is preempted.
2) After completion of Interrupt handler / System call
Is This Answer Correct ? | 20 Yes | 1 No |
Answer / softy
There are 2 situations when Linux can switch from user Space
to Kernel Space:-
1) by doing System calls
2) When interrupt comes (to handle interrupt)
3) by executing 128 (0x80 ) instruction or doing sysenter
Linux can switch from kernel Space to User space:-
1) process in kernel mode is preempted.
2) After completion of Interrupt handler / System call
3) performing sysexit sys call
Is This Answer Correct ? | 2 Yes | 0 No |
what is stored in /proc ? what is significance of /proc in linux ?
What does exec family return?
what is iptabe on redhat linux?
What are system calls used for process management in linux?
if root user forget the password how to change it?
why the kernel panic error was appering?
diff b/w spinlock, seamaphores and mutex and where to use it.
What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?
what happens when we do insmod & rmmod in Linux Device Drivers ?
What are the signals we have in Linux
What is the use of proc structure?
how to configure sendmail server on red hat linux version 4 and what and all we Require?