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 |
How to give the root permision to users?
what are Softirq's and how many major numbers be allocated in the linux kernel(2.4) ?
how to configure http server on red hat linux4.0?
what are the backup utilites on red hat linux 4.0?
Port number is already in use .. how to fix for apache..?
what is bus trap.
what is stored in /proc ? what is significance of /proc in linux ?
linux file defaults permition
how to configure sendmail server on red hat linux version 4 and what and all we Require?
linux system its not booting up its showing groub error what i need to do?
why the kernel panic error was appering?
what is cups and how to configure?