ENVS 1800 Lecture Notes - Lecture 35: Linked List

28 views2 pages
ENVS 1800 Lecture 35 Notes The Concept of Virtual Storage
Introduction
There must be a single resource that identifies the entire pool of available memory
frames from which the memory manager may draw, when required.
There are two common approaches in use.
One is to provide an inverted page table, which lists every memory frame with its
associated process and page.
This table shows the actual use of physical memory at every instant. Any frame without
an associated page entry is available for allocation.
Well leave it as a siple eerise for ou to idetif the availale fraes.
A second method maintains a list of available frames, usually as a simple linked list.
When a process needs frames, it takes them from the top of the list.
When a process exits, its frames are added to the end of the list.
Since frame contiguity is unimportant, this is an effective way to manage the free frame
pool.
The first two issues of memory management that we raised initially are thus solved.
But, as the TV ifoerials sa, Wait—theres still ore!
As we noted before, the third major challenge for memory management is the limited
total quantity of physical memory available.
Even hundreds of megabytes of memory can only hold a few modern programs.
Up to this point, we have assumed that there is a frame available for every page that
needs one.
While page-to-frame translation has eliminated the question of how to fit programs into
existing memory space, the next step is more important and useful
We will show you how the concept of virtual storage allows the system to extend the
address space far beyond the actual physical memory that exists.
As you will see, the additional address space required to store a large number of
programs is actually provided in an auxiliary form of storage, usually disk
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents