Lecture 8 Memory Management Strategies (chapter 8)

Similar documents
Chapter 8: Main Memory

Chapter 8: Main Memory

Chapter 8: Memory Management Strategies

8.1 Background. Part Four - Memory Management. Chapter 8: Memory-Management Management Strategies. Chapter 8: Memory Management

I.-C. Lin, Assistant Professor. Textbook: Operating System Concepts 8ed CHAPTER 8: MEMORY

Chapter 9: Memory Management. Background

Part Three - Memory Management. Chapter 8: Memory-Management Strategies

I.-C. Lin, Assistant Professor. Textbook: Operating System Principles 7ed CHAPTER 8: MEMORY

Chapter 8: Memory Management

Chapter 7: Main Memory. Operating System Concepts Essentials 8 th Edition

Module 9: Memory Management. Background. Binding of Instructions and Data to Memory

Memory Management. Memory Management

Module 8: Memory Management

Memory Management. CSCI 315 Operating Systems Design Department of Computer Science

Module 8: Memory Management

Chapter 8: Memory- Manage g me m nt n S tra r t a e t gie i s

CS307: Operating Systems

Logical versus Physical Address Space

Chapter 8: Memory-Management Strategies

Chapter 8: Memory- Management Strategies. Operating System Concepts 9 th Edition

Chapter 8: Memory- Management Strategies

CHAPTER 8: MEMORY MANAGEMENT. By I-Chen Lin Textbook: Operating System Concepts 9th Ed.

Memory Management. Contents: Memory Management. How to generate code? Background

Chapter 8 Memory Management

Chapter 8: Main Memory. Operating System Concepts 9 th Edition

Chapter 8: Memory Management. Background Swapping Contiguous Allocation Paging Segmentation Segmentation with Paging

Chapter 8: Memory- Management Strategies. Operating System Concepts 9 th Edition

Memory management. Last modified: Adaptation of Silberschatz, Galvin, Gagne slides for the textbook Applied Operating Systems Concepts

Chapter 8: Main Memory

Chapter 8: Memory Management. Operating System Concepts with Java 8 th Edition

CHAPTER 8 - MEMORY MANAGEMENT STRATEGIES

Chapter 8: Main Memory

SHANDONG UNIVERSITY 1

Memory Management Cache Base and Limit Registers base limit Binding of Instructions and Data to Memory Compile time absolute code Load time

6 - Main Memory EECE 315 (101) ECE UBC 2013 W2

Memory Management. Memory

Background. Contiguous Memory Allocation

Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation

Topics: Memory Management (SGG, Chapter 08) 8.1, 8.2, 8.3, 8.5, 8.6 CS 3733 Operating Systems

Chapter 9 Memory Management Main Memory Operating system concepts. Sixth Edition. Silberschatz, Galvin, and Gagne 8.1

CS307 Operating Systems Main Memory

Principles of Operating Systems

Main Memory. CISC3595, Spring 2015 X. Zhang Fordham University

CS 3733 Operating Systems:

Roadmap. Tevfik Koşar. CSC Operating Systems Spring Lecture - XII Main Memory - II. Louisiana State University

Goals of Memory Management

CS370 Operating Systems

Chapter 8: Memory- Management Strategies Dr. Varin Chouvatut

Main Memory. Electrical and Computer Engineering Stephen Kim ECE/IUPUI RTOS & APPS 1

CS3600 SYSTEMS AND NETWORKS

Main Memory Yi Shi Fall 2017 Xi an Jiaotong University

P r a t t hr h ee e : e M e M m e o m r o y y M a M n a a n g a e g m e e m n e t 8.1/72

Chapter 8 Main Memory

Performance of Various Levels of Storage. Movement between levels of storage hierarchy can be explicit or implicit

Unit-03 Deadlock and Memory Management Unit-03/Lecture-01

Chapter 8: Memory Management

File Systems. OS Overview I/O. Swap. Management. Operations CPU. Hard Drive. Management. Memory. Hard Drive. CSI3131 Topics. Structure.

Virtual Memory. CSCI 315 Operating Systems Design Department of Computer Science

Main Memory (Part II)

Chapter 8 & Chapter 9 Main Memory & Virtual Memory

Chapters 9 & 10: Memory Management and Virtual Memory

Memory Management. Dr. Yingwu Zhu

Memory Management. Minsoo Ryu. Real-Time Computing and Communications Lab. Hanyang University.

Main Memory (II) Operating Systems. Autumn CS4023

Memory Management Minsoo Ryu Real-Time Computing and Communications Lab. Hanyang University

CS420: Operating Systems

CS370 Operating Systems

Main Memory (Part I)

Operating Systems. Designed and Presented by Dr. Ayman Elshenawy Elsefy

Memory Management and Protection

Basic Memory Management. Basic Memory Management. Address Binding. Running a user program. Operating Systems 10/14/2018 CSC 256/456 1

CSE 421/521 - Operating Systems Fall Lecture - XII Main Memory Management. Tevfik Koşar. University at Buffalo. October 18 th, 2012.

Outlook. Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation Example: The Intel Pentium

Memory Management. Dr. Yingwu Zhu

Basic Memory Management

Chapter 9 Memory Management

Chapter 8: Main Memory. Operating System Concepts 8th Edition

Memory Management. Reading: Silberschatz chapter 9 Reading: Stallings. chapter 7 EEL 358

CSE 4/521 Introduction to Operating Systems. Lecture 14 Main Memory III (Paging, Structure of Page Table) Summer 2018

Page Table Structure. Hierarchical Paging. Hashed Page Tables. Inverted Page Tables

CS6401- Operating System UNIT-III STORAGE MANAGEMENT

ECE 7650 Scalable and Secure Internet Services and Architecture ---- A Systems Perspective. Part I: Operating system overview: Memory Management

Operating Systems. Memory Management. Lecture 9 Michael O Boyle

The Memory Management Unit. Operating Systems. Autumn CS4023

Multi-Process Systems: Memory (2) Memory & paging structures: free frames. Memory & paging structures. Physical memory

Addresses in the source program are generally symbolic. A compiler will typically bind these symbolic addresses to re-locatable addresses.

CSE 4/521 Introduction to Operating Systems. Lecture 12 Main Memory I (Background, Swapping) Summer 2018

Memory management: outline

Memory management: outline

VII. Memory Management

Introduction to Operating Systems

COSC Operating Systems Design, Fall 2001, Byunggu Yu. Chapter 9 Memory Management (Lecture Note #8) 1. Background

UNIT-III VIRTUAL MEMORY

Process. One or more threads of execution Resources required for execution

Process. One or more threads of execution Resources required for execution. Memory (RAM) Others

Process. Memory Management

Process. One or more threads of execution Resources required for execution. Memory (RAM) Others

CS370: Operating Systems [Spring 2017] Dept. Of Computer Science, Colorado State University

Memory Management (2)

9.1 Background. In Chapter 6, we showed how the CPU can be shared by a set of processes. As a result of

Transcription:

Bilkent University Department of Computer Engineering CS342 Operating Systems Lecture 8 Memory Management Strategies (chapter 8) Dr. İbrahim Körpeoğlu http://www.cs.bilkent.edu.tr/~korpe 1 References The slides here are adapted/modified from the textbook and its slides: Operating System Concepts, Silberschatz et al., 7th & 8th editions, Wiley. REFERENCES Operating System Concepts, 7 th and 8 th editions, Silberschatz et al. Wiley. Modern Operating Systems, Andrew S. Tanenbaum, 3 rd edition, 2009. 2 1

Outline Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation Example: The Intel Pentium 3 Objectives To provide a detailed description of various ways of organizing memory hardware To discuss various memory-management techniques, including paging and segmentation To provide a detailed description of the Intel Pentium, which supports both pure segmentation and segmentation with paging 4 2

Background Program must be brought (from disk) into memory and placed within a process for it to be run Main memory and registers are only storage CPU can access directly Register access in one CPU clock (or less) Main memory can take many cycles Cache sits between main memory and CPU registers Protection of memory required to ensure correct operation 5 Background Main Memory CPU Registers instructions data cache program image in memory Process Operating System Disk 6 3

Program addresses and memory When code is generated (or assembly program is written) we use memory addresses for variables, functions and branching/jumping. Those addresses can be physical or logical memory addresses. In very early systems they are just physical memory addresses. func func func main variable variable variable program A program has to be loaded to that address to run. No relocation 7 Program addresses and memory Assume they are physical addresses Program Add 12 Mov 8 4 Jump 8 0 RAM Add Mov Jump 8 physical addresses of RAM 44 40 36 32 28 24 20 16 12 8 4 0 8 4

Program addresses and memory RAM physical addresses of RAM 44 40 36 32 Program 1 Add 12 Mov 8 4 Jump 8 0 Program 2 Cmp 12 Sub 8 4 Jump 12 0 Program 1 Program 2 Cmp Sub Jump 12 Add Mov Jump 8 28 24 20 16 12 8 4 0 9 Logical address space concept We need logical address space concept, that is different that the physical RAM (main memory) addresses. phy_max RAM A program uses logical addresses. Set of logical addresses used by the program is its logical address space Logical address space can be, for example, [0, max_address] Logical address space has to be mapped somewhere in phsyical memory logic_max logical address space 0 Program limit Program base 0 10 5

Binding of Instructions and Data to Memory Address binding of instructions and data to (physical) memory addresses can happen at three different stages Compile time: If memory location known a priori, absolute code can be generated; must recompile code if starting location changes Load time: Must generate relocatable code if memory location is not known at compile time Execution time: Binding delayed until run time if the process can be moved during its execution from one memory segment to another. Need hardware support for address maps (e.g., base and limit registers) a program data instructions? RAM Program 11 Base and Limit Registers A pair of base and limit registers define the logical address space 12 6

Multistep Processing of a User Program 13 Logical vs. Physical Address Space The concept of a logical address space that is bound to a separate physical address space is central to proper memory management Logical address generated by the CPU; also referred to as virtual address Physical address address seen by the memory unit Logical and physical addresses are the same in compile-time and load-time address-binding schemes; logical (virtual) and physical addresses differ in execution-time address-binding scheme 14 7

Logical and physical addresses CPU base limit 24 32 PC IR logical addresses 28 24 20 16 12 08 04 00 mov r1, M[28] a relocatable program int x int y; cmp.. mov r1, M[28] mov r2, M[24] add r1, r2, r3 jmp 16 mov.. M[28+base] M[28+24] M[52] Main Memory (RAM) int x int y; cmp.. mov r1, M[28] mov r2, M[24] add r1, r2, r3 jmp 16 mov.. 60 56 52 48 44 40 36 32 28 24 20 16 12 08 04 00 physical addresses 15 Memory-Management Unit (MMU) Hardware device that maps logical (virtual) to physical address In MMU scheme, the value in the relocation register is added to every address generated by a user process at the time it is sent to memory The user program deals with logical addresses; it never sees the real physical addresses 16 8

Dynamic relocation using a relocation register 17 Dynamic Loading Routine is not loaded until it is called Better memory-space utilization; unused routine is never loaded Useful when large amounts of code are needed to handle infrequently occurring cases No special support from the operating system is required implemented through program design 18 9

Dynamic Linking Linking postponed until execution time Small piece of code, stub, used to locate the appropriate memoryresident library routine Stub replaces itself with the address of the routine, and executes the routine Operating system needed to check if routine is in processes memory address Dynamic linking is particularly useful for libraries Standard C library is shared library that is dynamically linked, not statically linked. You can link statically if you want. System also known as shared libraries 19 Swapping A process can be swapped temporarily out of memory to a backing store, and then brought back into memory for continued execution Backing store fast disk large enough to accommodate copies of all memory images for all users; must provide direct access to these memory images Roll out, roll in swapping variant used for priority-based scheduling algorithms; lower-priority process is swapped out so higher-priority process can be loaded and executed Major part of swap time is transfer time; total transfer time is directly proportional to the amount of memory swapped Modified versions of swapping are found on many systems (i.e., UNIX, Linux, and Windows) System maintains a ready queue of ready-to-run processes which have memory images on disk 20 10

Schematic View of Swapping 21 Contiguous Allocation Main memory is partitioned usually into two partitions: Resident operating system, usually held in low memory with interrupt vector User processes then held in high memory Relocation registers used to protect user processes from each other, and from changing operating-system code and data Base register contains value of smallest physical address Limit register contains range of logical addresses each logical address must be less than the limit register MMU maps logical addresses dynamically 22 11

Basic Memory Allocation Strategies In this chapter, we will cover 3 basic main memory allocation strategies to processes 1) Contiguous allocation 2) Paging 3) Segmentation 23 Hardware Support for Relocation and Limit Registers 24 12

Contiguous Allocation (Cont) Multiple-partition allocation Hole block of available memory; holes of various size are scattered throughout memory When a process arrives, it is allocated memory from a hole large enough to accommodate it Operating system maintains information about: a) allocated partitions b) free partitions (hole) OS OS OS OS process 5 process 5 process 5 process 5 process 9 process 9 process 8 process 10 process 2 process 2 process 2 process 2 25 Dynamic Storage-Allocation Problem How to satisfy a request of size n from a list of free holes First-fit: Allocate the first hole that is big enough Best-fit: Allocate the smallest hole that is big enough; must search entire list, unless ordered by size Produces the smallest leftover hole Worst-fit: Allocate the largest hole; must also search entire list Produces the largest leftover hole First-fit and best-fit better than worst-fit in terms of speed and storage utilization 26 13

Fragmentation External Fragmentation total memory space exists to satisfy a request, but it is not contiguous Internal Fragmentation allocated memory may be slightly larger than requested memory; this size difference is memory internal to a partition (allocation), but not being used Reduce external fragmentation by compaction Shuffle memory contents to place all free memory together in one large block Compaction is possible only if relocation is dynamic, and is done at execution time I/O problem Latch job in memory while it is involved in I/O Do I/O only into OS buffers 27 Paging Logical address space of a process can be noncontiguous; process is allocated physical memory whenever the latter is available Physical address space will also be noncontiguous. Divide physical memory into fixed-sized blocks called frames (size is power of 2, between 512 bytes and 8,192 bytes) Divide logical memory into blocks of same size called pages Keep track of all free frames To run a program of size n pages, need to find n free frames and load program Set up a page table to translate logical to physical addresses Internal fragmentation 28 14

Paging a program 0 1 2 3 4 5 logical address space RAM (Physical Memory) 0 1 2 3 4 5 7 6 8 9 a frame (size = 2 x ) physical memory: set of fixed sized page frames 29 Paging a program 0 1 2 3 4 5 load 0 mapped_to 2 1 mapped_to 4 2 mapped_to 2 3 mapped_to 7 4 mapped_to 9 5 mapped_to 6 RAM 0 2 1 3 5 4 0 1 2 3 4 5 7 6 8 9 30 15

Paging Model of Logical and Physical Memory 31 Paging Example page size = 4 bytes = 2 2 LA = 5 PA =? 5 is 0101 PA = 11001 4 bit logical address page number offset (dispacement) inside page 32 byte memory LA = 11 PA =? 11 is 1011 PA = 00111 LA = 13 PA =? 13 is 1101 PA = 01001 32 16

Address Translation (Mapping) m=3; 2 3 = 8 logical addresses n=2; page size = 2 2 = 4 1 bit for page# page 0 page 1 page table 0 11 1 10 each entry is used to map 4 addresses (page size addresses) 2 bits for offset 000 A 001 B 010 C 011 D 100 E 101 F 110 G 111 H Logical Memory 2 bits for frame# 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 E F G H A B C D Physical Memory frame 00 frame 01 frame 10 frame 11 33 Address Translation Scheme Address generated by CPU is divided into: Page number (p) used as an index into a page table which contains base address of each page in physical memory Page offset (d) combined with base address to define the physical memory address that is sent to the memory unit page number p m - n page offset d n For given logical address space 2 m and page size 2 n 34 17

Paging Hardware 35 Example 16 bit logical address 0010000000000100 p# offset mapping f# offset 110 000000000100 15 bit physical address 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 000 0 000 0 000 0 000 0 111 1 000 0 101 1 000 0 000 0 000 0 011 1 100 1 000 1 110 001 010 36 1 1 1 page table page size = 4096 bytes (offset is 12 bits) frame number valid/invalid bit 18

Free Frames Before allocation 37 After allocation Implementation of Page Table Page table is kept in main memory Page-table base register (PTBR) points to the page table Page-table length register (PTLR) indicates size of the page table In this scheme every data/instruction access requires two memory accesses. One for the page table and one for the data/instruction. The two memory access problem can be solved by the use of a special fastlookup hardware cache called associative memory or translation look-aside buffers (TLBs) Some TLBs store address-space identifiers (ASIDs) in each TLB entry uniquely identifies each process to provide address-space protection for that process 38 19

Implementation of Page Table CPU RAM Program P1 Program P2 PC PTBR PTLR PT1 Page Table of P1 PT2 Page Table of P2 Kernel Memory Currently running process is process 1 (P1) PCB1 PCB2 39 TLB Associative Memory Associative memory parallel search Page # Frame # Address translation (p, d) If p is in associative register, get frame # out Otherwise get frame # from page table in memory 40 20

Paging Hardware With TLB 41 Effective Memory Access Time Associative Lookup = ε time unit Assume memory cycle time is 1 microsecond Hit ratio percentage of times that a page number is found in the associative registers; ratio related to number of associative registers Hit ratio = α Effective Access Time (EAT) EAT = (1 + ε) α + (2 + ε)(1 α) = 2 + ε α 42 21

Memory Protection Memory protection implemented by associating protection bit with each frame Valid-invalid bit attached to each entry in the page table: valid indicates that the associated page is in the process logical address space, and is thus a legal page invalid indicates that the page is not in the process logical address space 43 Valid (v) or Invalid (i) Bit In A Page Table 44 22

Page Table Entry Structure A typical size of a page table entry can be 32 bits. Depends on the architecture Typically we have the following fields in a page table entry. Referenced bit Protection bits (read, read-write, execute) Reserved Page Frame Number Caching Disabled bit Modified (Dirty) bit Valid/Invalid (Present/Absent) bit 45 Shared Pages Shared code One copy of read-only (reentrant) code shared among processes (i.e., text editors, compilers, window systems). Shared code must appear in same location in the logical address space of all processes Private code and data Each process keeps a separate copy of the code and data The pages for the private code and data can appear anywhere in the logical address space 46 23

Shared Pages Example 47 Structure of the Page Table Hierarchical Paging Hashed Page Tables Inverted Page Tables 48 24

Hierarchical Page Tables Break up the logical address space into multiple page tables A simple technique is a two-level page table 49 Two-Level Paging Scheme 50 25

Two-Level Paging Scheme logical address offset 0100 0101 0110 0111 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 single level Page table 00 01 10 11 logical address offset two-level page table 00 01 10 11 00 01 10 11 00 01 10 11 00 01 10 11 51 Two-Level Paging Example A logical address (on 32-bit machine with 1K page size) is divided into: a page number consisting of 22 bits a page offset consisting of 10 bits Since the page table is paged, the page number is further divided into: a 12-bit page number a 10-bit page offset Thus, a logical address is as follows: page number page offset p 1 p 2 d 12 10 10 where p i is an index into the outer page table, and p 2 is the displacement within the page of the outer page table 52 26

Address-Translation Scheme 53 Example: two level page table need logical address length = 32 bits pagesize = 4096 bytes logical address division: 10, 10, 12 used 8 MB 2 32 bytes = 4 GB logical address space size (only partially used) unused used 12 MB What is total size of two level page table if entry size is 4 bytes? 54 27

Example: two level page table need 10 10 12 2 10 entries Top level page table 2 10 entries 2 10 entries a second level page table Each entry of a second level page table translates a page# to a frame#; i.e. each entry maps a page which is 4096 bytes There are 1024 entries In a second level page table Hence, a second level page table can map 2 10 * 2 12 = 2 22 = 4 MB of logical address space 55 Example: two level page table need 8 MB 8 MB / 4 MB = 2 second level page tables required to map 8 MB of logical memory 2 32 bytes = 4 GB Total = 3 + 2 = 5 second level page tables required 12 MB 12 MB / 4 MB = 3 second level page tables required to map 12 MB of logical memory 56 28

Example: two level page table need 2 nd level page tables 8 MB 2 10 entries 2 32 bytes = 4 GB 12 MB 2 10 entries. unused top level page table 2 10 entries 2 10 entries 2 10 entries 2 10 entries 1K * 4Bytes + 5 * 1K * 4Bytes = 24 KB space needed to hold the page tables of the process 57 Three-level Paging Scheme 58 29

Hashed Page Tables Common in address spaces > 32 bits The virtual page number is hashed into a page table This page table contains a chain of elements hashing to the same location Virtual page numbers are compared in this chain searching for a match If a match is found, the corresponding physical frame is extracted 59 Hashed Page Table 60 30

Inverted Page Table One entry for each real page of memory Entry consists of the virtual address of the page stored in that real memory location, with information about the process that owns that page Decreases memory needed to store each page table, but increases time needed to search the table when a page reference occurs Use hash table to limit the search to one or at most a few pagetable entries 61 Inverted Page Table Architecture 62 31

Inverted Page Table with Hashing indexed by hash on virtual page# 0 1 2 3 4 virtual page# frame# process# frame 0 frame 1 frame 2 frame 3 frame 4 m-2 m-1 Inverted Page Table (m entries) frame m-2 frame m-1 Physical Memory of m Frames pid table entry format v. page# Frame# nextp 63 Inverted Page Table with Hashing 0 p: a page number (0 <= p <= n-1) f: frame containing the page 0 <= hash (p) <= m-1 very huge virtual address space (n pages) hash(p) 0 m-1 Hashed Inverted Page Table (m entries) f 0 m-1 Physical Memory (m frames) n-1 n >> m 64 32

Segmentation Memory-management scheme that supports user view of memory A program is a collection of segments A segment is a logical unit such as: main program procedure function method object local variables, global variables common block stack symbol table arrays 65 User s View of a Program 66 33

Logical View of Segmentation 1 1 4 2 3 4 2 3 user space physical memory space 67 Segmentation Architecture Logical address consists of a two tuple: <segment-number, offset>, Segment table maps two-dimensional logical addresses; each table entry has: base contains the starting physical address where the segments reside in memory limit specifies the length of the segment Segment-table base register (STBR) points to the segment table s location in memory Segment-table length register (STLR) indicates number of segments used by a program; segment number s is legal if s < STLR 68 34

Segmentation Hardware 69 Segmentation Architecture (Cont.) Protection With each entry in segment table associate: validation bit = 0 illegal segment read/write/execute privileges Protection bits associated with segments; code sharing occurs at segment level Code segment: READONLY; sharable; Data segment: RED-WRITE; not-sharable Since segments vary in length, memory allocation is a dynamic storageallocation problem 70 35

Example of Segmentation 71 Example: The Intel Pentium Supports both segmentation and segmentation with paging CPU generates logical address (<segment#, offset> pairs) Given to segmentation unit Which produces linear addresses Linear address given to paging unit Which generates physical address in main memory Paging units form equivalent of MMU 72 36

Logical to Physical Address Translation in Pentium 73 Intel Pentium Segmentation base base address limit base+offset 74 37

Pentium Paging Architecture Pentium architecture allows a page size of either 4 KB or 4 MB. For 4 KB pages, two-level paging scheme is used in a 32 bit machine Address division: <10, 10, 12> bits For 4 MB pages, we can skip the inner page tables (secondary page table). A top level page table entry will point directly to a 4 MB page. 75 Pentium Paging Architecture 76 38

Linux on Pentium: Segmentation Linux is designed to run on a lot of hardware platforms: Pentium, Arm, Motorola, Sparc, MIPS, Therefore it does not rely on segmentation and makes minimal use of segmentation in Pentium. 77 Linux on Pentium: Paging Linux can run both on 32 bit and 64 bit machines. Therefore having just two level paging is not enough. Linux adapted a three level paging that can be used both in 32bit and 64bit machines. A linear address in Linux is broken into 4 parts: P1: global directory P2: middle directory P3: page table P4: offset Number of bits in each part depends on the architecture 78 39

Linear Address in Linux Broken into four parts: In a 64 bit machine (very large address space), we use all 4 parts In a 32 bit Intel machine, that uses two-level paging, we ignore the middle directory (its size is 0), and use 3 parts. 79 Three-level Paging in Linux 80 40

Linux Paging: some kernel structures struct task_struct { struct mm_struct *mm; } the PCB object of a process X struct mm_struct { pgd_t *pgd;. } mm object of process X (keeps memory management related information) 81 top level page table of process X (called page global directory) End of Lecture 82 41