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 difference between free and available memory in linux?

510


What is the pwd command?

571


Explain about the command lynx?

674


What are system commands?

566


How do I find the console in linux?

546






What is vnc?

595


What language is clang written in?

487


What does chmod 666 do?

535


What is $@ in bash?

544


What does history command do in linux?

525


What are grep patterns called?

532


You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?

658


How do I clear my run history?

557


Enlist some linux to file content commands?

568


How do you kill a process in linux?

554