Screen Version
School of Computer Science & Engineering
University of New South Wales

 Advanced Operating Systems 
 COMP9242 2002/S2 
next up previous
Next: Single-Address-Space Operating Systems Up: 12-mungi Previous: Single-Address-Space Operating Systems

Subsections

Address Spaces

Traditional OS use a separate address space for each process.

MASOS-new

Multiple address spaces:

How do processes share data?

All require OS intervention.

Sharing between address spaces

MASOS-new

Problems with sharing: Pointers!

ptr-ds

Sharing across address spaces

... requires copying and conversions
flat-ds

Other problems with address spaces

      memory data:     file data:
      item_t a, *x;     item_t a;
          int    x;
          FILE   *f;
      ...     ...
      a = *x;     f = fopen("f","r");
          fseek (f, x, SEEK_SET);
          fread (*a, sizeof(item_t), 1, f);
      address is *x      address is ("f",*x)
Inconsistent naming of persistent and volatile data

Why do we have problems with sharing?

 $.$
The problems are with pointers
 $.$
But we have 64-bit architectures now!
 $.$
Why not abolish private mappings????
==>
single-address-space system


next up previous
Next: Single-Address-Space Operating Systems Up: 12-mungi Previous: Single-Address-Space Operating Systems
Gernot Heiser 2002-10-24