From f56b87a0b8852fc226c29489846f0d2ed8443b94 Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Tue, 1 Nov 2022 13:19:33 +1300 Subject: [PATCH] vault backup: 2022-11-01 13:19:33 --- content/notes/22-virtual-memory.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/notes/22-virtual-memory.md b/content/notes/22-virtual-memory.md index 57da3e108..a49fd6b7c 100644 --- a/content/notes/22-virtual-memory.md +++ b/content/notes/22-virtual-memory.md @@ -29,7 +29,13 @@ extends main memory to secondary storage, and allows dynamic loading of processe - mem manager in OS kernel controls loading pages of the process into main mem from secondary storage # Demand paging +dont load a page into mem until it is referenced by CPU +implementing +- in paging scheme there are extra bits in the table to provide more information + - valid/invlid bit + - protection bits +- in demand paging the mem manager # page replacement algorithms # frame allocation