From 2c24b90ea8078f9d39538064edcb9ec477f266cb Mon Sep 17 00:00:00 2001 From: Jet Hughes Date: Tue, 1 Nov 2022 11:49:33 +1300 Subject: [PATCH] vault backup: 2022-11-01 11:49:33 --- content/notes/21-memory-management.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/content/notes/21-memory-management.md b/content/notes/21-memory-management.md index dc2c7d07c..d6f8acf8c 100644 --- a/content/notes/21-memory-management.md +++ b/content/notes/21-memory-management.md @@ -29,6 +29,14 @@ as we move from secondary to primary: - OS kernel creates a map from logical address to the physical address using a mapping table - CPUrefers to this table to map between physical and logical address +![address bidning for process space slide|400](https://i.imgur.com/N0iAw0z.png) + # paging for memory translation -![address bidning for process space slide|400](https://i.imgur.com/N0iAw0z.png) +Noncontiguous paging: a processes logica address pace is broken int fixed size units called pages, and main memory is broken into units of the same size, called frames. + +in a paged memory allocation scheme, the logical sddresses generated by the CPU are broken by special ardware itno two components: +- page number +- offset (address within page) + +![](https://i.imgur.com/i3dn9IP.png)