Autosave: 2024-07-16 07:00:04
This commit is contained in:
parent
1a5a0b903d
commit
32c915a652
2 changed files with 12 additions and 8 deletions
BIN
.zk/notebook.db
BIN
.zk/notebook.db
Binary file not shown.
|
@ -12,7 +12,7 @@ memory capacity of a machine that is presented to user space for its memory
|
||||||
operations.
|
operations.
|
||||||
|
|
||||||
When an OS implements virtual memory, [processes](./Processes.md) in
|
When an OS implements virtual memory, [processes](./Processes.md) in
|
||||||
[user space](./User_Space.md) cannot directly read or write to the actual
|
[user space](./User_Space.md) cannot directly read or write to the physical
|
||||||
memory. Instead they execute memory operations against virtual memory and the
|
memory. Instead they execute memory operations against virtual memory and the
|
||||||
[kernel](./The_kernel.md) translates these into the actual operations against
|
[kernel](./The_kernel.md) translates these into the actual operations against
|
||||||
the memory hardware.
|
the memory hardware.
|
||||||
|
@ -43,15 +43,19 @@ machine:
|
||||||
|
|
||||||
_How Computers Really Work_ (2021) p.206
|
_How Computers Really Work_ (2021) p.206
|
||||||
|
|
||||||
Furthermore the kernel itself utilises virtual memory. The difference with
|
## Virtual memory and the kernel
|
||||||
kernel virtual memory is that it has a different range of virtual addresses to
|
|
||||||
work with than user space virtual memory.
|
|
||||||
|
|
||||||
Also, unlike user address space, the kernel has access to everything running in
|
The kernel itself utilises virtual memory. The kernel virtual memory has a
|
||||||
kernel address space. Processes in user address space are partitioned from each
|
different range of virtual addresses to work with than user space virtual
|
||||||
other with separate address spaces that cannot interact.
|
memory.
|
||||||
|
|
||||||
|
Unlike user space virtual memory, the kernel has access to everything running in
|
||||||
|
kernel address space whereas processes in user address space are partitioned
|
||||||
|
from each other with separate address spaces that cannot interact.
|
||||||
|
|
||||||
// Next: the kernel also uses virtual memory however isn't also responsible for
|
// Next: the kernel also uses virtual memory however isn't also responsible for
|
||||||
the appportioning of virtual memory. Confused.
|
the appportioning of virtual memory. Confused.
|
||||||
|
|
||||||
// See Claude convo 
|
// See Claude convo
|
||||||
|
|
||||||
|

|
||||||
|
|
Loading…
Add table
Reference in a new issue