Home
last modified time | relevance | path

Searched refs:frontswap (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/Documentation/vm/
Dfrontswap.rst11 (Note, frontswap -- and :ref:`cleancache` (merged at 3.0) -- are the "frontends"
15 for a detailed overview of frontswap and related kernel parts)
26 links itself to frontswap by calling frontswap_register_ops to set the
30 An "init" prepares the device to receive frontswap pages associated
42 to swap out a page, it first attempts to use frontswap. If the store returns
48 If a backend chooses, frontswap can be configured as a "writethrough
52 store frontswap pages to more completely manage its memory usage.
57 never be obtained from frontswap.
59 If properly configured, monitoring of frontswap is done via debugfs in
60 the `/sys/kernel/debug/frontswap` directory. The effectiveness of
[all …]
Dindex.rst37 frontswap
Dzswap.rst83 When a swap page is passed from frontswap to zswap, zswap maintains a mapping
89 During a page fault on a PTE that is a swap entry, frontswap calls the zswap
95 via frontswap, to free the compressed entry.
Dcleancache.rst126 Cleancache (and its sister code "frontswap") provide interfaces for
134 faster-than-disk transcendent memory, and the cleancache (and frontswap)
142 well-publicized special-case workloads). Cleancache -- and frontswap --
/Linux-v5.15/mm/
Dswapfile.c1940 unsigned int type, bool frontswap, in unuse_pte_range() argument
1962 if (frontswap && !frontswap_test(si, offset)) in unuse_pte_range()
2013 unsigned int type, bool frontswap, in unuse_pmd_range() argument
2027 frontswap, fs_pages_to_unuse); in unuse_pmd_range()
2036 unsigned int type, bool frontswap, in unuse_pud_range() argument
2049 frontswap, fs_pages_to_unuse); in unuse_pud_range()
2058 unsigned int type, bool frontswap, in unuse_p4d_range() argument
2071 frontswap, fs_pages_to_unuse); in unuse_p4d_range()
2079 bool frontswap, unsigned long *fs_pages_to_unuse) in unuse_vma() argument
2094 frontswap, fs_pages_to_unuse); in unuse_vma()
[all …]
DMakefile74 obj-$(CONFIG_FRONTSWAP) += frontswap.o
Dshmem.c1170 unsigned int type, bool frontswap) in shmem_find_swap_entries() argument
1191 if (frontswap && in shmem_find_swap_entries()
1247 bool frontswap, unsigned long *fs_pages_to_unuse) in shmem_unuse_inode() argument
1253 bool frontswap_partial = (frontswap && *fs_pages_to_unuse > 0); in shmem_unuse_inode()
1265 type, frontswap); in shmem_unuse_inode()
1294 int shmem_unuse(unsigned int type, bool frontswap, in shmem_unuse() argument
1318 error = shmem_unuse_inode(&info->vfs_inode, type, frontswap, in shmem_unuse()
4019 int shmem_unuse(unsigned int type, bool frontswap, in shmem_unuse() argument
DKconfig455 bool "Enable frontswap to cache swap pages if tmem is present"
464 available, all frontswap calls are reduced to a single pointer-
468 If unsure, say Y to enable frontswap.
/Linux-v5.15/include/linux/
Dshmem_fs.h86 extern int shmem_unuse(unsigned int type, bool frontswap,
/Linux-v5.15/
DMAINTAINERS7624 F: include/linux/frontswap.h
7625 F: mm/frontswap.c