GithubHelp home page GithubHelp logo

linux-mm-notes's Introduction

Linux Memory Management

IMPORTANT: This repository is deprecated in favour of a new project to write a book about the mm subsystem - I will be developing it (over a long period!) see linuxmemory.org for updates. This will supercede this project and all future efforts to finally write something comprehensive will be made over there.

Contents

  • Virtual memory layout - x86-64 page table structure, virtual memory address space and conversion between physical and virtual memory.

  • Physical page allocation - NUMA nodes, zones, and the physical page (buddy) allocator.

  • Memory reclaim - Memory reclaim, compaction and OOM - i.e. how the kernel finds more memory when zones drop below low and minimum thresholds.

Descriptions

This is a set of notes on the linux memory management subsystem.

They assume an x86-64 architecture and all architecture-specific references to kernel code will reference x64-64 specific data structures and code.

Links to actual code will be taken from the current tip (permalinked via github) at circa-5.10. I may try to stabilise this at a specific release at some point but can't guarantee that at the moment.

These notes, unlike my originals, will make little to no effort to explain absolutely basic concepts, but rather assume that the reader understands or can research these kinds of things.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.