distinguish between user mode and kernel mode?

Answer Posted / lipsa naik

Kernel mode, also referred to as system mode, is one of the
two distinct modes of operation of the CPU (central
processing unit) in Linux. The other is user mode, a non-
privileged mode for user programs. When the CPU is in
kernel mode, it is assumed to be executing trusted
software, and thus it can execute any instructions and
reference any memory addresses. all user mode software must
request use of the kernel by means of a system call in
order to perform privileged. The standard procedure to
change from user mode to kernel mode is to call the
software interrupt 0x80. All processes begin execution in
user mode, and they switch to kernel mode only when
obtaining a service provided by the kernel. This change in
mode is termed a mode switch.

Is This Answer Correct ?    21 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does 'mkdir' command do in UNIX?

665


How does the system know where one command ends and another begins?

1582


Explain how to use grep command to list find the records of a file containing 10 different strings?

597


What is grep short for?

558


How do I open a port?

596






How many unix commands are there?

631


Which command is used to kill the last background job?

786


Differentiate cat command from more command.

582


Why is it called grep?

565


What command is used to check the current users?

598


What does grep v grep do?

556


Is it inbetween or in between?

589


What does touch command do in unix?

734


What is updatedb?

590


why metadb requires a seperate slice to create Solaris volume manager

2558