Operating Systems - Week 3
In week 3, I learned about memory virtualization, which is used to provide abstraction between physical memory and the processes that use it. It allows many processes to share physical memory which improves performance.
I also learned about the difference between stack memory and heap memory. Stack memory is often also called automatic memory as it is often set up for you and then automatically deallocated when you no longer need it. Heap memory is memory that you allocate for yourself and then have to deallocate when you no longer need it. This gives you more freedom to do as you wish, but leaves you open for much more errors.
I also learned about segmentation which allows programs to be loaded into memory with flexibility. This helps create memory protection by preventing one program from accessing the memory of another program.
Comments
Post a Comment