42c06a0e8e
The only user of frontswap is zswap, and has been for a long time. Have swap call into zswap directly and remove the indirection. [hannes@cmpxchg.org: remove obsolete comment, per Yosry] Link: https://lkml.kernel.org/r/20230719142832.GA932528@cmpxchg.org [fengwei.yin@intel.com: don't warn if none swapcache folio is passed to zswap_load] Link: https://lkml.kernel.org/r/20230810095652.3905184-1-fengwei.yin@intel.com Link: https://lkml.kernel.org/r/20230717160227.GA867137@cmpxchg.org Signed-off-by: Johannes Weiner <hannes@cmpxchg.org> Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Acked-by: Nhat Pham <nphamcs@gmail.com> Acked-by: Yosry Ahmed <yosryahmed@google.com> Acked-by: Christoph Hellwig <hch@lst.de> Cc: Domenico Cerasuolo <cerasuolodomenico@gmail.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Vitaly Wool <vitaly.wool@konsulko.com> Cc: Vlastimil Babka <vbabka@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
69 lines
1.4 KiB
ReStructuredText
69 lines
1.4 KiB
ReStructuredText
===============================
|
|
Memory Management Documentation
|
|
===============================
|
|
|
|
Memory Management Guide
|
|
=======================
|
|
|
|
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:`admin guide <../admin-guide/mm/index>`.
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
physical_memory
|
|
page_tables
|
|
process_addrs
|
|
bootmem
|
|
page_allocation
|
|
vmalloc
|
|
slab
|
|
highmem
|
|
page_reclaim
|
|
swap
|
|
page_cache
|
|
shmfs
|
|
oom
|
|
|
|
Legacy Documentation
|
|
====================
|
|
|
|
This is a collection of older documents about the Linux memory management
|
|
(MM) subsystem internals with different level of details ranging from
|
|
notes and mailing list responses for elaborating descriptions of data
|
|
structures and algorithms. It should all be integrated nicely into the
|
|
above structured documentation, or deleted if it has served its purpose.
|
|
|
|
.. toctree::
|
|
:maxdepth: 1
|
|
|
|
active_mm
|
|
arch_pgtable_helpers
|
|
balance
|
|
damon/index
|
|
free_page_reporting
|
|
hmm
|
|
hwpoison
|
|
hugetlbfs_reserv
|
|
ksm
|
|
memory-model
|
|
mmu_notifier
|
|
multigen_lru
|
|
numa
|
|
overcommit-accounting
|
|
page_migration
|
|
page_frags
|
|
page_owner
|
|
page_table_check
|
|
remap_file_pages
|
|
slub
|
|
split_page_table_lock
|
|
transhuge
|
|
unevictable-lru
|
|
vmalloced-kernel-stacks
|
|
vmemmap_dedup
|
|
z3fold
|
|
zsmalloc
|