Download Operating Systems: Principles and Practice, Vol. 3: Memory by Thomas Anderson, Michael Dahlin PDF

By Thomas Anderson, Michael Dahlin

Working platforms: rules and perform is a textbook for a primary direction in undergraduate working platforms. In use at dozens of most sensible tier universities, and written via top working structures researchers with many years of expertise effectively instructing complicated themes to millions of scholars, this textbook provides:
A course for college kids to appreciate excessive point innovations right down to operating code.
Extensive labored examples built-in during the textual content supply scholars concrete assistance for finishing homework assignments.
A concentrate on up to date applied sciences and practice
The booklet model of working platforms: rules and perform is damaged into four volumes:
quantity 1: Kernels and Processes
quantity 2: Concurrency
quantity three: reminiscence Management
quantity four: chronic Storage

This is quantity three: reminiscence Management
In this quantity, we clarify either the speculation and mechanisms at the back of 64-bit deal with area translation, call for paging, and digital machines.

Show description

Read Online or Download Operating Systems: Principles and Practice, Vol. 3: Memory Management PDF

Similar operating systems books

Alan Simpson's Windows XP Reloaded Bible

What the e-book covers: makes a speciality of home windows XP performance, this Bible covers the fundamentals (e. g. , navigating your computing device) in addition to find out how to use the preferred net beneficial properties, customise the paintings surroundings, hold and tweak the approach, and use common concepts for operating with textual content, numbers, and pics.

Mac OS X

Bei Mac OS X handelt es sich um das jüngste Betriebssystem von Apple laptop. Es unterscheidet sich vom Vorgänger Mac OS nine nicht nur durch eine Vielzahl von neuen Funktionen und durch die neue Benutzeroberfläche Aqua, sondern vor allen Dingen durch die Nutzung von Mach und BSD als foundation für seine Implementierung.

Additional resources for Operating Systems: Principles and Practice, Vol. 3: Memory Management

Example text

The translation is usually implemented in hardware, and the operating system kernel configures the hardware to accomplish its aims. The task of this chapter is to fill in the details about how that black box works. If we asked you right now how you might implement it, your first several guesses would probably be on the mark. If you said we could use an array, a tree, or a hash table, you would be right 舒 all of those approaches have been taken by real systems. Given that a number of different implementations are possible, how should we evaluate the alternatives?

If the child changes some data, it should change only its copy, and not its parent舗s data. On the other hand, most of the time, the child process in UNIX fork simply calls UNIX exec; the shared data is there as a programming convenience. We can make this work efficiently by using an idea called copy-on-write. During the fork, all of the segments shared between the parent and child process are marked 舠read-only舡 in both segment tables. If either side modifies data in a segment, an exception is raised and a full memory copy of that segment is made at that time.

If we do the opposite 舒 put the heap segment in a small chunk of physical memory 舒 then we will need to copy it somewhere else if it changes size. 5: Logical view of page table address translation. Physical memory is split into page frames, with a page-size aligned block of virtual addresses assigned to each frame. Unused addresses are not assigned page frames in physical memory. 6: Address translation with a page table. The virtual address has two components: a virtual page number and an offset within the page.

Download PDF sample

Rated 4.24 of 5 – based on 37 votes