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

How do I clear terminal command history?

571


How can we increase disk read performance in single command in Linux?

570


why context switching time should be minimum? How it depends on hardware support?

1297


How do I check my disk space?

474


What is df command in linux?

544






What language is clang written in?

491


What is the difference between find and locate command in linux?

544


How do I check storage on linux?

527


What is DISM command?

514


What is the purpose output of cd command?

578


How do you copy in linux terminal?

522


What happens to hard link when file is deleted?

498


Explain about lprm job number?

647


How can you check the amount of lines in a file?

543


What is nbtstat command?

589