Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?..

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

what are the different ways the Linux can swich from User Space to Kernel Space & vice-versa ?..

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

Post New Answer

More Linux System Calls Interview Questions

What do fork() internally call?

3 Answers  


what are the backup utilites on red hat linux 4.0?

4 Answers   Wipro,


How to get microseconds of system time from Redhat Linux 4.0

2 Answers  


Port number is already in use .. how to fix for apache..?

1 Answers   Google,


what is the difference between user APIs and kernel system calls ?

1 Answers   NetApp,


how to create samba server in fedora linux 9 ?

2 Answers   Accenture,


Explain process management system calls in linux?

0 Answers  


what is stored at /lib/modules ?

2 Answers   NetApp,


What will happen when we invoke a system call and say with an example of invoking a system call ?read? for a device?

3 Answers   NetApp,


what is the diff b/w MUTEX and semaphore?

12 Answers   Sony, TCS,


what is iptabe on redhat linux?

3 Answers   CDAC,


if root user forget the password how to change it?

4 Answers   Wipro,


Categories