what is user mode & kernel mode?

Answer Posted / masoud

Kernel Mode

In Kernel mode, the executing code has complete and
unrestricted access to the underlying hardware. It can
execute any CPU instruction and reference any memory
address. Kernel mode is generally reserved for the
lowest-level, most trusted functions of the operating
system. Crashes in kernel mode are catastrophic; they will
halt the entire PC.

User Mode

In User mode, the executing code has no ability to directly
access hardware or reference memory. Code running in user
mode must delegate to system APIs to access hardware or
memory. Due to the protection afforded by this sort of
isolation, crashes in user mode are always recoverable. Most
of the code running on your computer will execute in user mode.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is finger in networking?

739


What is difference between free and available memory in linux?

726


What is nslookup command?

741


How much ram do I have linux?

720


How do I check storage on linux?

746


Why is unix used?

744


What happens to hard link when file is deleted?

676


How do I check my system performance?

752


Write a command that will do the following: -look for all files in the current and subsequent directories with an extension c,v -strip the,v from the result (you can use sed command) -use the result and use a grep command to search for all occurrences of the word orange in the files.

1059


What is iptables command in linux?

767


Which is the required command for checking the file system?

766


What is llvm used for?

760


What does umask 077 mean?

758


Which command is used to check the number of files and disk space used and the each user’s defined quota?

776


Why we use pwd command in linux?

743