mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-28 11:03:14 -04:00
Rename mm/swap.c to mm/folio.c so the filename better matches the code's main responsibility. This keeps the implementation split from swap-specific code without changing the published LRU helper interfaces. Update MAINTAINERS and the remaining mm/swap.c documentation references after the rename. [wujianyue000@gmail.com: MAINTAINERS: move mm/folio.c to MM CORE] Link: https://lore.kernel.org/20260804111109.393127-1-wujianyue000@gmail.com Link: https://lore.kernel.org/20260708-ch-swap-series-plus-folio-lru-cleanup-v9-2-2bc72b4f8730@gmail.com Signed-off-by: Jianyue Wu <wujianyue000@gmail.com> Suggested-by: Baoquan He <bhe@redhat.com> Suggested-by: David Hildenbrand <david@kernel.org> Suggested-by: Matthew Wilcox <willy@infradead.org> Reviewed-by: Lorenzo Stoakes <ljs@kernel.org> Acked-by: Johannes Weiner <hannes@cmpxchg.org> Acked-by: David Hildenbrand (Arm) <david@kernel.org> Cc: Axel Rasmussen <axelrasmussen@google.com> Cc: Baolin Wang <baolin.wang@linux.alibaba.com> Cc: Barry Song <baohua@kernel.org> Cc: Chris Li <chrisl@kernel.org> Cc: Hugh Dickins <hughd@google.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Kairui Song <kasong@tencent.com> Cc: Kemeng Shi <shikemeng@huaweicloud.com> Cc: Liam R. Howlett <liam@infradead.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Michal Hocko <mhocko@suse.com> Cc: Mike Rapoport <rppt@kernel.org> Cc: Nhat Pham <nphamcs@gmail.com> Cc: Shakeel Butt <shakeel.butt@linux.dev> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Vlastimil Babka <vbabka@kernel.org> Cc: Wei Xu <weixugc@google.com> Cc: Yuanchu Xie <yuanchu@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
136 lines
2.8 KiB
ReStructuredText
136 lines
2.8 KiB
ReStructuredText
======================
|
|
Memory Management APIs
|
|
======================
|
|
|
|
User Space Memory Access
|
|
========================
|
|
|
|
.. kernel-doc:: arch/x86/include/asm/uaccess.h
|
|
:internal:
|
|
|
|
.. kernel-doc:: arch/x86/lib/usercopy_32.c
|
|
:export:
|
|
|
|
.. kernel-doc:: mm/gup.c
|
|
:functions: get_user_pages_fast
|
|
|
|
.. _mm-api-gfp-flags:
|
|
|
|
Memory Allocation Controls
|
|
==========================
|
|
|
|
.. kernel-doc:: include/linux/gfp_types.h
|
|
:doc: Page mobility and placement hints
|
|
|
|
.. kernel-doc:: include/linux/gfp_types.h
|
|
:doc: Watermark modifiers
|
|
|
|
.. kernel-doc:: include/linux/gfp_types.h
|
|
:doc: Reclaim modifiers
|
|
|
|
.. kernel-doc:: include/linux/gfp_types.h
|
|
:doc: Useful GFP flag combinations
|
|
|
|
The Slab Cache
|
|
==============
|
|
|
|
.. kernel-doc:: include/linux/slab.h
|
|
:internal:
|
|
|
|
.. kernel-doc:: mm/slub.c
|
|
:export:
|
|
|
|
.. kernel-doc:: mm/slab_common.c
|
|
:export:
|
|
|
|
.. kernel-doc:: mm/util.c
|
|
:functions: kfree_const kvmalloc_node kvfree
|
|
|
|
Virtually Contiguous Mappings
|
|
=============================
|
|
|
|
.. kernel-doc:: mm/vmalloc.c
|
|
:export:
|
|
|
|
File Mapping and Page Cache
|
|
===========================
|
|
|
|
Filemap
|
|
-------
|
|
|
|
.. kernel-doc:: mm/filemap.c
|
|
:export:
|
|
|
|
Readahead
|
|
---------
|
|
|
|
.. kernel-doc:: mm/readahead.c
|
|
:doc: Readahead Overview
|
|
|
|
.. kernel-doc:: mm/readahead.c
|
|
:export:
|
|
|
|
Writeback
|
|
---------
|
|
|
|
.. kernel-doc:: include/linux/writeback.h
|
|
.. kernel-doc:: mm/page-writeback.c
|
|
:export:
|
|
|
|
Truncate
|
|
--------
|
|
|
|
.. kernel-doc:: mm/truncate.c
|
|
:export:
|
|
|
|
.. kernel-doc:: include/linux/pagemap.h
|
|
:internal:
|
|
|
|
Memory pools
|
|
============
|
|
|
|
.. kernel-doc:: mm/mempool.c
|
|
:export:
|
|
|
|
More Memory Management Functions
|
|
================================
|
|
|
|
.. kernel-doc:: mm/memory.c
|
|
:export:
|
|
|
|
.. kernel-doc:: mm/page_alloc.c
|
|
.. kernel-doc:: mm/mempolicy.c
|
|
.. kernel-doc:: include/linux/mm_types.h
|
|
:internal:
|
|
.. kernel-doc:: include/linux/mm_inline.h
|
|
.. kernel-doc:: include/linux/page-flags.h
|
|
.. kernel-doc:: include/linux/mm.h
|
|
:internal:
|
|
.. kernel-doc:: include/linux/page_ref.h
|
|
.. kernel-doc:: include/linux/mmzone.h
|
|
.. kernel-doc:: mm/util.c
|
|
:functions: folio_mapping
|
|
|
|
.. kernel-doc:: mm/rmap.c
|
|
.. kernel-doc:: mm/migrate.c
|
|
.. kernel-doc:: mm/mmap.c
|
|
.. kernel-doc:: mm/kmemleak.c
|
|
.. #kernel-doc:: mm/hmm.c (build warnings)
|
|
.. kernel-doc:: mm/memremap.c
|
|
.. kernel-doc:: mm/hugetlb.c
|
|
.. kernel-doc:: mm/folio.c
|
|
.. kernel-doc:: mm/memcontrol.c
|
|
.. #kernel-doc:: mm/memory-tiers.c (build warnings)
|
|
.. kernel-doc:: mm/shmem.c
|
|
.. kernel-doc:: mm/migrate_device.c
|
|
.. #kernel-doc:: mm/nommu.c (duplicates kernel-doc from other files)
|
|
.. kernel-doc:: mm/mapping_dirty_helpers.c
|
|
.. #kernel-doc:: mm/memory-failure.c (build warnings)
|
|
.. kernel-doc:: mm/percpu.c
|
|
.. kernel-doc:: mm/maccess.c
|
|
.. kernel-doc:: mm/vmscan.c
|
|
.. kernel-doc:: mm/memory_hotplug.c
|
|
.. kernel-doc:: mm/mmu_notifier.c
|
|
.. kernel-doc:: mm/balloon.c
|
|
.. kernel-doc:: mm/huge_memory.c
|