NOTE

Linux Memory Management

1. Linux Memory Management 2. Swap Space It is a partition on disk. When Linux memory is full, some memory is swapped to the Swap space. 2.1. Swap Space vs Virtual Memory Swap Space Virtual Memory Exists on disk Exists on disk Swapped with main memor

Operating Systems / LinuxCreated Updated 1 min readhistorical

This is a historical learning note and may contain outdated or incomplete understanding.

1. Linux Memory Management

2. Swap Space

It is a partition on disk. When Linux memory is full, some memory is swapped to the Swap space.

2.1. Swap Space vs Virtual Memory

Swap Space Virtual Memory
Exists on disk Exists on disk
Swapped with main memory Swapped with main memory
Operating-system concept Process concept
Solves the problem of insufficient physical memory for the system Solves the problem of insufficient physical memory for a process

Discussion

Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub