data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
linux
================ Shadow Variables ================ Shadow variables are a simple way for livepatch modules to associate additional "shadow" data with existing data structures. Shadow data is allocated separately from parent data structures, which are left unmodified. The shadow variable API described in this documen...
Documentation/livepatch/shadow-vars.rst
null
null
null
null
null
source
linux
==================== System State Changes ==================== Some users are really reluctant to reboot a system. This brings the need to provide more livepatches and maintain some compatibility between them. Maintaining more livepatches is much easier with cumulative livepatches. Each new livepatch completely repla...
Documentation/livepatch/system-state.rst
null
null
null
null
null
source
linux
================ Futex Requeue PI ================ Requeueing of tasks from a non-PI futex to a PI futex requires special handling in order to ensure the underlying rt_mutex is never left without an owner if it has waiters; doing so would break the PI boosting logic [see rt-mutex-design.rst] For the purposes of brevit...
Documentation/locking/futex-requeue-pi.rst
null
null
null
null
null
source
linux
=========================== Hardware Spinlock Framework =========================== Introduction ============ Hardware spinlock modules provide hardware assistance for synchronization and mutual exclusion between heterogeneous processors and those not operating under a single, shared operating system. For example, O...
Documentation/locking/hwspinlock.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======= Locking ======= .. toctree:: :maxdepth: 1 locktypes lockdep-design lockstat locktorture mutex-design rt-mutex-design rt-mutex seqlock spinlocks ww-mutex-design preempt-locking pi-futex futex-requeue-pi hwspinlock ...
Documentation/locking/index.rst
null
null
null
null
null
source
linux
Runtime locking correctness validator ===================================== started by Ingo Molnar <mingo@redhat.com> additions by Arjan van de Ven <arjan@linux.intel.com> Lock-class ---------- The basic object the validator operates upon is a 'class' of locks. A class of locks is a group of locks that are logical...
Documentation/locking/lockdep-design.rst
null
null
null
null
null
source
linux
=============== Lock Statistics =============== What ==== As the name suggests, it provides statistics on locks. Why === Because things like lock contention can severely impact performance. How === Lockdep already has hooks in the lock functions and maps lock instances to lock classes. We build on that (see Docu...
Documentation/locking/lockstat.rst
null
null
null
null
null
source
linux
================================== Kernel Lock Torture Test Operation ================================== CONFIG_LOCK_TORTURE_TEST ======================== The CONFIG_LOCK_TORTURE_TEST config option provides a kernel module that runs torture tests on core kernel locking primitives. The kernel module, 'locktorture', ma...
Documentation/locking/locktorture.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. _kernel_hacking_locktypes: ========================== Lock types and their rules ========================== Introduction ============ The kernel provides a variety of locking primitives which can be divided into three categories: - Sleeping locks - CPU local locks - Spinni...
Documentation/locking/locktypes.rst
null
null
null
null
null
source
linux
======================= Generic Mutex Subsystem ======================= started by Ingo Molnar <mingo@redhat.com> updated by Davidlohr Bueso <davidlohr@hp.com> What are mutexes? ----------------- In the Linux kernel, mutexes refer to a particular locking primitive that enforces serialization on shared memory system...
Documentation/locking/mutex-design.rst
null
null
null
null
null
source
linux
==================== Percpu rw semaphores ==================== Percpu rw semaphores is a new read-write semaphore design that is optimized for locking for reading. The problem with traditional read-write semaphores is that when multiple cores take the lock for reading, the cache line containing the semaphore is bounc...
Documentation/locking/percpu-rw-semaphore.rst
null
null
null
null
null
source
linux
====================== Lightweight PI-futexes ====================== We are calling them lightweight for 3 reasons: - in the user-space fastpath a PI-enabled futex involves no kernel work (or any other PI complexity) at all. No registration, no extra kernel calls - just pure fast atomic ops in userspace. - e...
Documentation/locking/pi-futex.rst
null
null
null
null
null
source
linux
=========================================================================== Proper Locking Under a Preemptible Kernel: Keeping Kernel Code Preempt-Safe =========================================================================== :Author: Robert Love <rml@tech9.net> Introduction ============ A preemptible kernel cre...
Documentation/locking/preempt-locking.rst
null
null
null
null
null
source
linux
==================== The robust futex ABI ==================== :Author: Started by Paul Jackson <pj@sgi.com> Robust_futexes provide a mechanism that is used in addition to normal futexes, for kernel assist of cleanup of held locks on task exit. The interesting data as to what futexes a thread is holding is kept on ...
Documentation/locking/robust-futex-ABI.rst
null
null
null
null
null
source
linux
======================================== A description of what robust futexes are ======================================== :Started by: Ingo Molnar <mingo@redhat.com> Background ---------- what are robust futexes? To answer that, we first need to understand what futexes are: normal futexes are special types of locks...
Documentation/locking/robust-futexes.rst
null
null
null
null
null
source
linux
============================== RT-mutex implementation design ============================== Copyright (c) 2006 Steven Rostedt Licensed under the GNU Free Documentation License, Version 1.2 This document tries to describe the design of the rtmutex.c implementation. It doesn't describe the reasons why rtmutex.c exis...
Documentation/locking/rt-mutex-design.rst
null
null
null
null
null
source
linux
================================== RT-mutex subsystem with PI support ================================== RT-mutexes with priority inheritance are used to support PI-futexes, which enable pthread_mutex_t priority inheritance attributes (PTHREAD_PRIO_INHERIT). [See Documentation/locking/pi-futex.rst for more details abo...
Documentation/locking/rt-mutex.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====================================== Sequence counters and sequential locks ====================================== Introduction ============ Sequence counters are a reader-writer consistency mechanism with lockless readers (read-only retry loops), and no writer starvation. They ...
Documentation/locking/seqlock.rst
null
null
null
null
null
source
linux
=============== Locking lessons =============== Lesson 1: Spin locks ==================== The most basic primitive for locking is spinlock:: static DEFINE_SPINLOCK(xxx_lock); unsigned long flags; spin_lock_irqsave(&xxx_lock, flags); ... critical section here .. spin_unlock_irqrestore(&xxx_lock, flags); The ...
Documentation/locking/spinlocks.rst
null
null
null
null
null
source
linux
====================================== Wound/Wait Deadlock-Proof Mutex Design ====================================== Please read mutex-design.rst first, as it applies to wait/wound mutexes too. Motivation for WW-Mutexes ------------------------- GPU's do operations that commonly involve many buffers. Those buffers ...
Documentation/locking/ww-mutex-design.rst
null
null
null
null
null
source
linux
Configuring Git =============== This chapter describes maintainer level git configuration. Tagged branches used in pull requests (see Documentation/maintainer/pull-requests.rst) should be signed with the developers public GPG key. Signed tags can be created by passing ``-u <key-id>`` to ``git tag``. However, since yo...
Documentation/maintainer/configure-git.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================== Feature and driver maintainers ============================== The term "maintainer" spans a very wide range of levels of engagement from people handling patches and pull requests as almost a full time job to people responsible for a small feature or a...
Documentation/maintainer/feature-and-driver-maintainers.rst
null
null
null
null
null
source
linux
========================== Kernel Maintainer Handbook ========================== This document is the humble beginning of a manual for kernel maintainers. There is a lot yet to go here! Please feel free to propose (and write) additions to this manual. .. toctree:: :maxdepth: 2 feature-and-driver-maintainers ...
Documentation/maintainer/index.rst
null
null
null
null
null
source
linux
.. _maintainerentryprofile: Maintainer Entry Profile ======================== The Maintainer Entry Profile supplements the top-level process documents (submitting-patches, submitting drivers...) with subsystem/device-driver-local customs as well as details about the patch submission life-cycle. A contributor uses thi...
Documentation/maintainer/maintainer-entry-profile.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================================== Handling messy pull-request diffstats ===================================== Subsystem maintainers routinely use ``git request-pull`` as part of the process of sending work upstream. Normally, the result includes a nice diffstat that shows whic...
Documentation/maintainer/messy-diffstat.rst
null
null
null
null
null
source
linux
.. _modifyingpatches: Modifying Patches ================= If you are a subsystem or branch maintainer, sometimes you need to slightly modify patches you receive in order to merge them, because the code is not exactly the same in your tree and the submitters'. If you stick strictly to rule (c) of the developers certif...
Documentation/maintainer/modifying-patches.rst
null
null
null
null
null
source
linux
Creating Pull Requests ====================== This chapter describes how maintainers can create and submit pull requests to other maintainers. This is useful for transferring changes from one maintainers tree to another maintainers tree. This document was written by Tobin C. Harding (who at that time, was not an expe...
Documentation/maintainer/pull-requests.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==================== Rebasing and merging ==================== Maintaining a subsystem, as a general rule, requires a familiarity with the Git source-code management system. Git is a powerful tool with a lot of features; as is often the case with such tools, there are right and wr...
Documentation/maintainer/rebasing-and-merging.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================== MHI (Modem Host Interface) ========================== This document provides information about the MHI protocol. Overview ======== MHI is a protocol developed by Qualcomm Innovation Center, Inc. It is used by the host processors to control and communica...
Documentation/mhi/mhi.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============ MHI Topology ============ This document provides information about the MHI topology modeling and representation in the kernel. MHI Controller -------------- MHI controller driver manages the interaction with the MHI client devices such as the external modems and WiFi...
Documentation/mhi/topology.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================= AD525x Digital Potentiometers ============================= The ad525x_dpot driver exports a simple sysfs interface. This allows you to work with the immediate resistance settings as well as update the saved startup settings. Access to the factory pr...
Documentation/misc-devices/ad525x_dpot.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======================= AMD SIDE BAND interface ======================= Some AMD Zen based processors supports system management functionality via side-band interface (SBI) called Advanced Platform Management Link (APML). APML is an I2C/I3C based 2-wire processor target interface. ...
Documentation/misc-devices/amd-sbi.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====================== Kernel driver apds990x ====================== Supported chips: Avago APDS990X Data sheet: Not freely available Author: Samu Onkalo <samu.p.onkalo@nokia.com> Description ----------- APDS990x is a combined ambient light and proximity sensor. ALS and proximi...
Documentation/misc-devices/apds990x.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======================= Kernel driver bh1770glc ======================= Supported chips: - ROHM BH1770GLC - OSRAM SFH7770 Data sheet: Not freely available Author: Samu Onkalo <samu.p.onkalo@nokia.com> Description ----------- BH1770GLC and SFH7770 are combined ambient light and ...
Documentation/misc-devices/bh1770glc.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. include:: <isonum.txt> =============== C2 port support =============== (C) Copyright 2007 Rodolfo Giometti <giometti@enneenne.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free ...
Documentation/misc-devices/c2port.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========================================================================== Driver for Synopsys DesignWare PCIe traffic generator (also known as xData) =========================================================================== Supported chips: Synopsys DesignWare PCIe prototype so...
Documentation/misc-devices/dw-xdata-pcie.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0+ ====================================================== IBM Virtual Management Channel Kernel Driver (IBMVMC) ====================================================== :Authors: Dave Engebretsen <engebret@us.ibm.com>, Adam Reznechek <adreznec@linux.vnet.ibm.com>, Steven Royer <sero...
Documentation/misc-devices/ibmvmc.rst
null
null
null
null
null
source
linux
======================== Kernel driver ics932s401 ======================== Supported chips: * IDT ICS932S401 Prefix: 'ics932s401' Addresses scanned: I2C 0x69 Datasheet: Publicly available at the IDT website Author: Darrick J. Wong Description ----------- This driver implements support for the IDT ...
Documentation/misc-devices/ics932s401.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================================ Assorted Miscellaneous Devices Documentation ============================================ This documentation contains information for assorted devices that do not fit into other categories. .. toctree:: :caption: Table of contents ...
Documentation/misc-devices/index.rst
null
null
null
null
null
source
linux
====================== Kernel driver isl29003 ====================== Supported chips: * Intersil ISL29003 Prefix: 'isl29003' Addresses scanned: none Datasheet: http://www.intersil.com/data/fn/fn7464.pdf Author: Daniel Mack <daniel@caiaq.de> Description ----------- The ISL29003 is an integrated light sensor with...
Documentation/misc-devices/isl29003.rst
null
null
null
null
null
source
linux
======================= Kernel driver lis3lv02d ======================= Supported chips: * STMicroelectronics LIS3LV02DL, LIS3LV02DQ (12 bits precision) * STMicroelectronics LIS302DL, LIS3L02DQ, LIS331DL (8 bits) and LIS331DLH (16 bits) Authors: - Yan Burman <burman.yan@gmail.com> - Eric Piel <eric....
Documentation/misc-devices/lis3lv02d.rst
null
null
null
null
null
source
linux
===================== Kernel driver max6875 ===================== Supported chips: * Maxim MAX6874, MAX6875 Prefix: 'max6875' Addresses scanned: None (see below) Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6874-MAX6875.pdf Author: Ben Gardner <bgardner@wabtec.com> Description ----------- The ...
Documentation/misc-devices/max6875.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============================================== Marvell CN10K DMA packet interface (DPI) driver =============================================== Overview ======== DPI is a DMA packet interface hardware block in Marvell's CN10K silicon. DPI hardware comprises a physical function (PF...
Documentation/misc-devices/mrvl_cn10k_dpi.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ==================================================================== Notes on Oxford Semiconductor PCIe (Tornado) 950 serial port devices ==================================================================== Oxford Semiconductor PCIe (Tornado) 950 serial port devices are driven by a...
Documentation/misc-devices/oxsemi-tornado.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================================== Driver for PCI Endpoint Test Function ===================================== This driver should be used as a host side driver if the root complex is connected to a configurable PCI endpoint running ``pci_epf_test`` function driver configured acc...
Documentation/misc-devices/pci-endpoint-test.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======================== Spear PCIe Gadget Driver ======================== Author ====== Pratyush Anand (pratyush.anand@gmail.com) Location ======== driver/misc/spear13xx_pcie_gadget.c Supported Chip: =============== SPEAr1300 SPEAr1310 Menuconfig option: ================== Devi...
Documentation/misc-devices/spear-pcie-gadget.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================================== Texas Instruments TPS6594 PFSM driver ===================================== Author: Julien Panis (jpanis@baylibre.com) Overview ======== Strictly speaking, PFSM (Pre-configurable Finite State Machine) is not hardware. It is a piece of code. ...
Documentation/misc-devices/tps6594-pfsm.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 Uacce (Unified/User-space-access-intended Accelerator Framework) ================================================================ Introduction ------------ Uacce (Unified/User-space-access-intended Accelerator Framework) targets to provide Shared Virtual Addressing (SVA) between a...
Documentation/misc-devices/uacce.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0+ ==================== Xilinx SD-FEC Driver ==================== Overview ======== This driver supports SD-FEC Integrated Block for Zynq |Ultrascale+ (TM)| RFSoCs. .. |Ultrascale+ (TM)| unicode:: Ultrascale+ U+2122 .. with trademark sign For a full description of SD-FEC core f...
Documentation/misc-devices/xilinx_sdfec.rst
null
null
null
null
null
source
linux
========= Active MM ========= Note, the mm_count refcount may no longer include the "lazy" users (running tasks with ->active_mm == mm && ->mm == NULL) on kernels with CONFIG_MMU_LAZY_TLB_REFCOUNT=n. Taking and releasing these lazy references must be done with mmgrab_lazy_tlb() and mmdrop_lazy_tlb() helpers, which abs...
Documentation/mm/active_mm.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========================== MEMORY ALLOCATION PROFILING =========================== Low overhead (suitable for production) accounting of all memory allocations, tracked by file and line number. Usage: kconfig options: - CONFIG_MEM_ALLOC_PROFILING - CONFIG_MEM_ALLOC_PROFILING_ENAB...
Documentation/mm/allocation-profiling.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============================== Architecture Page Table Helpers =============================== Generic MM expects architectures (with MMU) to provide helpers to create, access and modify page table entries at various level for different memory functions. These page table helpers n...
Documentation/mm/arch_pgtable_helpers.rst
null
null
null
null
null
source
linux
================ Memory Balancing ================ Started Jan 2000 by Kanoj Sarcar <kanoj@sgi.com> Memory balancing is needed for !__GFP_HIGH and !__GFP_KSWAPD_RECLAIM as well as for non __GFP_IO allocations. The first reason why a caller may avoid reclaim is that the caller can not sleep due to holding a spinlock ...
Documentation/mm/balance.rst
null
null
null
null
null
source
linux
===================== Free Page Reporting ===================== Free page reporting is an API by which a device can register to receive lists of pages that are currently unused by the system. This is useful in the case of virtualization where a guest is then able to use this data to notify the hypervisor that it is no...
Documentation/mm/free_page_reporting.rst
null
null
null
null
null
source
linux
==================== High Memory Handling ==================== By: Peter Zijlstra <a.p.zijlstra@chello.nl> .. contents:: :local: What Is High Memory? ==================== High memory (highmem) is used when the size of physical memory approaches or exceeds the maximum size of virtual memory. At that point it become...
Documentation/mm/highmem.rst
null
null
null
null
null
source
linux
===================================== Heterogeneous Memory Management (HMM) ===================================== Provide infrastructure and helpers to integrate non-conventional memory (device memory like GPU on board memory) into regular kernel path, with the cornerstone of this being specialized struct page for suc...
Documentation/mm/hmm.rst
null
null
null
null
null
source
linux
===================== Hugetlbfs Reservation ===================== Overview ======== Huge pages as described at Documentation/admin-guide/mm/hugetlbpage.rst are typically preallocated for application use. These huge pages are instantiated in a task's address space at page fault time if the VMA indicates huge pages ar...
Documentation/mm/hugetlbfs_reserv.rst
null
null
null
null
null
source
linux
======== hwpoison ======== What is hwpoison? ================= Upcoming Intel CPUs have support for recovering from some memory errors (``MCA recovery``). This requires the OS to declare a page "poisoned", kill the processes associated with it and avoid using it in the future. This patchkit implements the necessary ...
Documentation/mm/hwpoison.rst
null
null
null
null
null
source
linux
=============================== Memory Management Documentation =============================== This is a guide to understanding the memory management subsystem of Linux. If you are looking for advice on simply allocating memory, see the :ref:`memory_allocation`. For controlling and tuning guides, see the :doc:`admi...
Documentation/mm/index.rst
null
null
null
null
null
source
linux
======================= Kernel Samepage Merging ======================= KSM is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y, added to the Linux kernel in 2.6.32. See ``mm/ksm.c`` for its implementation, and http://lwn.net/Articles/306704/ and https://lwn.net/Articles/330589/ The userspace interfac...
Documentation/mm/ksm.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0-or-later ========================== Memfd Preservation via LUO ========================== .. kernel-doc:: mm/memfd_luo.c :doc: Memfd Preservation via LUO Memfd Preservation ABI ====================== .. kernel-doc:: include/linux/kho/abi/memfd.h :doc: DOC: memfd Live Update...
Documentation/mm/memfd_preservation.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================== Physical Memory Model ===================== Physical memory in a system may be addressed in different ways. The simplest case is when the physical memory starts at address 0 and spans a contiguous range up to the maximal address. It could be, however, that thi...
Documentation/mm/memory-model.rst
null
null
null
null
null
source
linux
When do you need to notify inside page table lock ? =================================================== When clearing a pte/pmd we are given a choice to notify the event through (notify version of \*_clear_flush call mmu_notifier_invalidate_range) under the page table lock. But that notification is not necessary in al...
Documentation/mm/mmu_notifier.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============= Multi-Gen LRU ============= The multi-gen LRU is an alternative LRU implementation that optimizes page reclaim and improves performance under memory pressure. Page reclaim decides the kernel's caching policy and ability to overcommit memory. It directly impacts the ksw...
Documentation/mm/multigen_lru.rst
null
null
null
null
null
source
linux
Started Nov 1999 by Kanoj Sarcar <kanoj@sgi.com> ============= What is NUMA? ============= This question can be answered from a couple of perspectives: the hardware view and the Linux software view. From the hardware perspective, a NUMA system is a computer platform that comprises multiple components or assemblies ...
Documentation/mm/numa.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====================== Out Of Memory Handling ======================
Documentation/mm/oom.rst
null
null
null
null
null
source
linux
===================== Overcommit Accounting ===================== The Linux kernel supports the following overcommit handling modes 0 Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to...
Documentation/mm/overcommit-accounting.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========== Page Cache ========== The page cache is the primary way that the user and the rest of the kernel interact with filesystems. It can be bypassed (e.g. with O_DIRECT), but normal reads, writes and mmaps go through the page cache. Folios ====== The folio is the unit of me...
Documentation/mm/page_cache.rst
null
null
null
null
null
source
linux
============== Page fragments ============== A page fragment is an arbitrary-length arbitrary-offset area of memory which resides within a 0 or higher order compound page. Multiple fragments within that page are individually refcounted, in the page's reference counter. The page_frag functions, page_frag_alloc and pa...
Documentation/mm/page_frags.rst
null
null
null
null
null
source
linux
============== Page migration ============== Page migration allows moving the physical location of pages between nodes in a NUMA system while the process is running. This means that the virtual addresses that the process sees do not change. However, the system rearranges the physical location of those pages. Also see...
Documentation/mm/page_migration.rst
null
null
null
null
null
source
linux
================================================== page owner: Tracking about who allocated each page ================================================== Introduction ============ page owner is for the tracking about who allocated each page. It can be used to debug memory leak or to find a memory hogger. When allocati...
Documentation/mm/page_owner.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================ Page Table Check ================ Introduction ============ Page table check allows to harden the kernel by ensuring that some types of the memory corruptions are prevented. Page table check performs extra verifications at the time when new pages become accessibl...
Documentation/mm/page_table_check.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =========== Page Tables =========== Paged virtual memory was invented along with virtual memory as a concept in 1962 on the Ferranti Atlas Computer which was the first computer with paged virtual memory. The feature migrated to newer computers and became a de facto feature of all U...
Documentation/mm/page_tables.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============== Physical Memory =============== Linux is available for a wide range of architectures so there is a need for an architecture-independent abstraction to represent the physical memory. This chapter describes the structures used to manage physical memory in a running sy...
Documentation/mm/physical_memory.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================= Process Addresses ================= .. toctree:: :maxdepth: 3 Userland memory ranges are tracked by the kernel via Virtual Memory Areas or 'VMA's of type :c:struct:`!struct vm_area_struct`. Each VMA describes a virtually contiguous memory range with identica...
Documentation/mm/process_addrs.rst
null
null
null
null
null
source
linux
============================== remap_file_pages() system call ============================== The remap_file_pages() system call is used to create a nonlinear mapping, that is, a mapping in which the pages of the file are mapped into a nonsequential order in memory. The advantage of using remap_file_pages() over using ...
Documentation/mm/remap_file_pages.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======================== Shared Memory Filesystem ========================
Documentation/mm/shmfs.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 =============== Slab Allocation =============== Functions and structures ======================== .. kernel-doc:: mm/slab.h .. kernel-doc:: mm/slub.c :internal:
Documentation/mm/slab.rst
null
null
null
null
null
source
linux
===================== Split page table lock ===================== Originally, mm->page_table_lock spinlock protected all page tables of the mm_struct. But this approach leads to poor page fault scalability of multi-threaded applications due to high contention on the lock. To improve scalability, split page table lock ...
Documentation/mm/split_page_table_lock.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 :Author: Chris Li <chrisl@kernel.org>, Kairui Song <kasong@tencent.com> ========== Swap Table ========== Swap table implements swap cache as a per-cluster swap cache value array. Swap Entry ---------- A swap entry contains the information required to serve the anonymous page fau...
Documentation/mm/swap-table.rst
null
null
null
null
null
source
linux
============================ Transparent Hugepage Support ============================ This document describes design principles for Transparent Hugepage (THP) support and its interaction with other parts of the memory management system. Design principles ================= - "graceful fallback": mm components which ...
Documentation/mm/transhuge.rst
null
null
null
null
null
source
linux
============================== Unevictable LRU Infrastructure ============================== .. contents:: :local: Introduction ============ This document describes the Linux memory manager's "Unevictable LRU" infrastructure and the use of this to manage several types of "unevictable" folios. The document attempts...
Documentation/mm/unevictable-lru.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====================================== Virtually Contiguous Memory Allocation ======================================
Documentation/mm/vmalloc.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ===================================== Virtually Mapped Kernel Stack Support ===================================== :Author: Shuah Khan <skhan@linuxfoundation.org> .. contents:: :local: Overview -------- This is a compilation of information from the code and original patch series ...
Documentation/mm/vmalloced-kernel-stacks.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================================= A vmemmap diet for HugeTLB and Device DAX ========================================= HugeTLB ======= This section is to explain how HugeTLB Vmemmap Optimization (HVO) works. The ``struct page`` structures are used to describe a physical pa...
Documentation/mm/vmemmap_dedup.rst
null
null
null
null
null
source
linux
======== zsmalloc ======== This allocator is designed for use with zram. Thus, the allocator is supposed to work well under low memory conditions. In particular, it never attempts higher order page allocation which is very likely to fail under memory pressure. On the other hand, if we just use single (0-order) pages, ...
Documentation/mm/zsmalloc.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============= API Reference ============= Kernel space programs can use every feature of DAMON using below APIs. All you need to do is including ``damon.h``, which is located in ``include/linux/`` of the source tree. Structures ========== .. kernel-doc:: include/linux/damon.h ...
Documentation/mm/damon/api.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ====== Design ====== .. _damon_design_execution_model_and_data_structures: Execution Model and Data Structures =================================== The monitoring-related information including the monitoring request specification and DAMON-based operation schemes are stored in a ...
Documentation/mm/damon/design.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ========================== Frequently Asked Questions ========================== Does DAMON support virtual memory only? ======================================= No. The core of the DAMON is address space independent. The address space specific monitoring operations including mon...
Documentation/mm/damon/faq.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================================================================ DAMON: Data Access MONitoring and Access-aware System Operations ================================================================ DAMON is a Linux kernel subsystem for efficient :ref:`data access monitoring <damon_des...
Documentation/mm/damon/index.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 DAMON Maintainer Entry Profile ============================== The DAMON subsystem covers the files that are listed in 'DAMON' section of 'MAINTAINERS' file. The mailing lists for the subsystem are damon@lists.linux.dev and linux-mm@kvack.org. Patches should be made against the `m...
Documentation/mm/damon/maintainer-profile.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ================================================= DAMON Moniting Interval Parameters Tuning Example ================================================= DAMON's monitoring parameters need tuning based on given workload and the monitoring purpose. There is a :ref:`tuning guide <damon_...
Documentation/mm/damon/monitoring_intervals_tuning_example.rst
null
null
null
null
null
source
linux
=================================== NetLabel CIPSO/IPv4 Protocol Engine =================================== Paul Moore, paul.moore@hp.com May 17, 2006 Overview ======== The NetLabel CIPSO/IPv4 protocol engine is based on the IETF Commercial IP Security Option (CIPSO) draft from July 16, 1992. A copy of this draft ...
Documentation/netlabel/cipso_ipv4.rst
null
null
null
null
null
source
linux
IETF CIPSO Working Group 16 July, 1992 COMMERCIAL IP SECURITY OPTION (CIPSO 2.2) 1. Status This Internet Draft provides the high level specification for a Commercial IP Security Option (CIPSO). This draft reflects the version as approved by the CIPSO IETF Working Group. Distribution of this...
Documentation/netlabel/draft-ietf-cipso-ipsecurity-01.txt
null
null
null
null
null
source
linux
Draft IETF CIPSO IP Security ---------------------------- .. include:: draft-ietf-cipso-ipsecurity-01.txt :literal:
Documentation/netlabel/draft_ietf.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ======== NetLabel ======== .. toctree:: :maxdepth: 1 introduction cipso_ipv4 lsm_interface draft_ietf
Documentation/netlabel/index.rst
null
null
null
null
null
source
linux
===================== NetLabel Introduction ===================== Paul Moore, paul.moore@hp.com August 2, 2006 Overview ======== NetLabel is a mechanism which can be used by kernel security modules to attach security attributes to outgoing network packets generated from user space applications and read security att...
Documentation/netlabel/introduction.rst
null
null
null
null
null
source
linux
======================================== NetLabel Linux Security Module Interface ======================================== Paul Moore, paul.moore@hp.com May 17, 2006 Overview ======== NetLabel is a mechanism which can set and retrieve security attributes from network packets. It is intended to be used by LSM devel...
Documentation/netlabel/lsm_interface.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 .. _specs: ============================= Netlink Family Specifications ============================= .. toctree:: :maxdepth: 1 :glob: *
Documentation/netlink/specs/index.rst
null
null
null
null
null
source
linux
.. SPDX-License-Identifier: GPL-2.0 ============================================== Netdev private dataroom for 6lowpan interfaces ============================================== All 6lowpan able net devices, means all interfaces with ARPHRD_6LOWPAN, must have "struct lowpan_priv" placed at beginning of netdev_priv. T...
Documentation/networking/6lowpan.rst
null
null
null
null
null