answersLogoWhite

0


Best Answer

In any environment, in order to execute a privileged instruction you have have to switch from user mode to kernel mode, hence a context switch.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Does a privileged instruction involves a Context Switch in Unix?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Describe the actions of a context switch if the new context is already loaded into one of the register sets.?

If the new context is already loaded into one of the register sets, a context switch involves simply changing the pointer to the register set in use. This is a faster operation as no actual data needs to be moved between memory and registers, resulting in a quicker context switch process.


Difference between context switching and schedulling?

Scheduling has to do with how the job scheduler decides which task will have the CPU and for how long. This is the technique of multi-tasking; the appearance of running multiple processes at the same time (when they really aren't). Context switching occurs when a process needs to do something in a privileged way, such as requiring communication with another hardware device. When the process is typically running it is in user mode, which is a non-privileged mode of operation. It has to context switch into kernel (privileged) mode to do things, then switch back. The main difference between the two is that context switches happen in a non-predictive manner in the same program/process, and job scheduling is predictable (to a point). Then again, they serve different needs of the Operating System, as well.


Which prompt is associated with the privileged exec mode?

R1#


Explain the difference between user EXEC and privileged EXEC modes?

Privileged mode has access to the entire router or switch configuration. User EXEC mode only has limited options. Specifically, to do any configuration changes, you need to enter privileged mode first.Privileged mode has access to the entire router or switch configuration. User EXEC mode only has limited options. Specifically, to do any configuration changes, you need to enter privileged mode first.Privileged mode has access to the entire router or switch configuration. User EXEC mode only has limited options. Specifically, to do any configuration changes, you need to enter privileged mode first.Privileged mode has access to the entire router or switch configuration. User EXEC mode only has limited options. Specifically, to do any configuration changes, you need to enter privileged mode first.


A network administrator enters the enable command at the Switch prompt of a new switch. What mode will the switch enter?

Privileged mode (will turn into a # sign after the router name instead of the > sign it has upon startup.


The actions taken by a kernel to context switch bet user levl thread?

When a context switch occurs, the kernel saves the context of the old process into its Program Control Block and loads the saved context of the new process scheduled to run.


What is the past tense of not switch?

The past tense of "not switch" is "did not switch" or "didn't switch," depending on the context.


How can you minimize idle time in context switch?

If the process that gets the control can be put into the register (its kept in cache though) means less time to fetch and have a context switch. Any way the context switching time isn't a big time delay.


What boot involves turning on the power with the on and off switch?

hard boot


What if the valet override switch wasn't installed?

Then you may ignore that instruction. Something about an ignition? Sounds familiar...


Is there an instruction manual for square D?

temp. Switch class 9025, type bgw2s9101-526-50


The industrialization of a country involves an economic switch away an economy based on what?

agriculture,