PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: bachelor of science

Mechanism: Limited Direct Execution

6 Mechanism: Limited Direct ExecutionIn order to virtualize the CPU, the operating system needs to somehowshare the physical CPU among many jobs running seemingly at thesametime. The basic idea is simple: run one process for a little while, thenrun another one, and so forth. Bytime sharingthe CPU in this manner,virtualization is are a few challenges, however, in building such virtualizationmachinery. The first isperformance: how can we implement virtualiza-tion without adding excessive overhead to the system? The secondiscontrol: how can we run processes efficiently while retaining control overthe CPU? Control is particularly important to the OS, as it is in charge ofresources; without control, a process could simply run forever and takeover the machine, or access information that it should not be allowedtoaccess. Obtaining high performance while maintaining controlis thusone of the central challenges in building an operating :HOWTOEFFICIENTLYVIRTUALIZETHECPU WITHCONTROLThe OS must virtualize the CPU in an efficient manner while retainingcontrol over the system.

tem calls provided, the library uses an agreed-upon calling convention with the kernel to put the arguments to open()in well-known locations (e.g., on the stack, or in specific registers), puts the system-call number into a well-known location as well (again, onto the stack or a register), and then executes the aforementioned trap instruction.

Loading..

Tags:

  Limited, Call, Execution, Direct, Limited direct execution

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Mechanism: Limited Direct Execution

Related search queries