To answer your question, neither remove_block or insert_block alters the pgd
given to it.
So after a bit of reading of the code I think I finally understand why it uses pointers^squared. I hope I haven't overexplained anything but this might help someone. Someone else pls correct me if i'm wrong.
Blocks:
- Some .. block .. of memory.
- It's important to remember that a
PageDescriptor
is not a block itself, and neither is aPageDescriptor*
. Read on.
Page Descriptors: