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

why the kernel panic error was appering?

13 Answers   Air2Web, Allianz,


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

1 Answers   NetApp,


How to give the root permision to users?

3 Answers   Wipro,


what is cups and how to configure?

7 Answers   IBM,


how to create samba server in fedora linux 9 ?

2 Answers   Accenture,


what is mean by raid and what are all raids available even in software and hardware?

5 Answers   Satyam,


What is the Diffrent between Redhat linux And suse linux

2 Answers   Wipro,


how to configure http server on red hat linux4.0?

5 Answers   IBM,


linux system its not booting up its showing groub error what i need to do?

4 Answers   Wipro,


1.Diff between Active and passive FTP? 2.What is anacron? 3.Diff between yum update and yum install while doing for kernel? 4.root_squash and no_root_squash does what? 5.What are the commands will you execute to find a new hardware? 6.How will you find out a lun allocated from SAN? 7.What is the main diff in CaT5 and CAT6 cable, except the 1/100 and 1/1000? 8.What is stale NFS and How will you fix it? 9.What is kernel panic error? 10.How will you recover password and shadow file, in case both got deleted. Explain the steps? 11.Explain boot process 12.What is network bonding. Explain the steps? 13.What are the exit codes returned by FSCK? 14.What is LDOM? 15.Diff between block and character device?

2 Answers   Wipro,


what is bus trap.

1 Answers   NetApp,


How to get microseconds of system time from Redhat Linux 4.0

2 Answers  


Categories