A Comparison Between Linux and Windows Operating System in Terms of Memory Management Linux Vs Windo
A Comparison Between Linux and Windows Operating System in Terms of Memory Management Linux Vs Windo
NP
By Nthabiseng Phelane 215231473
Gael Kapia Kalala 230150438
Tebogo Mashabane 219320926
Linux Memory Management
1 Virtual Memory 2 Page Table
Linux utilizes virtual A page table maps virtual
memory to extend the memory addresses to
available physical physical memory
memory. It allows addresses, enabling
applications to access a efficient allocation and
larger address space than access of memory.
the actual physical RAM.
Linux uses a segmentation-based approach, where Windows utilizes a page-based protection mechanism,
each process has its own dedicated memory space. where each page of memory is granted specific
This prevents processes from accessing each other's access rights. This allows for granular control over
data, ensuring security and stability. memory access, enhancing security and allowing for
more flexible memory management.
• Uses access control and memory
protection keys to secure memory. • Uses Data Execution Prevention (DEP).
• Strong security features to prevent • Comprehensive security measures to protect
unauthorized access. against memory-related attacks.
Conclusion: Paging and
Virtual Memory
1 Paging
Both Linux and Windows employ paging, dividing
virtual memory into fixed-size units called pages.
2 Virtual Memory
Virtual memory allows applications to access more
memory than physically available, using disk space
as an extension.
3 Memory Management
Both operating systems utilize page tables to map
virtual addresses to physical memory, enabling
efficient memory management.