Home
last modified time | relevance | path

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

/Linux-v5.10/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.rst36 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.10/mm/
Dswapfile.c1942 unsigned int type, bool frontswap, in unuse_pte_range() argument
1966 if (frontswap && !frontswap_test(si, offset)) in unuse_pte_range()
2014 unsigned int type, bool frontswap, in unuse_pmd_range() argument
2028 frontswap, fs_pages_to_unuse); in unuse_pmd_range()
2037 unsigned int type, bool frontswap, in unuse_pud_range() argument
2050 frontswap, fs_pages_to_unuse); in unuse_pud_range()
2059 unsigned int type, bool frontswap, in unuse_p4d_range() argument
2072 frontswap, fs_pages_to_unuse); in unuse_p4d_range()
2080 bool frontswap, unsigned long *fs_pages_to_unuse) in unuse_vma() argument
2095 frontswap, fs_pages_to_unuse); in unuse_vma()
[all …]
DMakefile70 obj-$(CONFIG_FRONTSWAP) += frontswap.o
Dshmem.c1190 unsigned int type, bool frontswap) in shmem_find_swap_entries() argument
1211 if (frontswap && in shmem_find_swap_entries()
1267 bool frontswap, unsigned long *fs_pages_to_unuse) in shmem_unuse_inode() argument
1273 bool frontswap_partial = (frontswap && *fs_pages_to_unuse > 0); in shmem_unuse_inode()
1285 type, frontswap); in shmem_unuse_inode()
1314 int shmem_unuse(unsigned int type, bool frontswap, in shmem_unuse() argument
1338 error = shmem_unuse_inode(&info->vfs_inode, type, frontswap, in shmem_unuse()
4145 int shmem_unuse(unsigned int type, bool frontswap, in shmem_unuse() argument
DKconfig471 bool "Enable frontswap to cache swap pages if tmem is present"
480 available, all frontswap calls are reduced to a single pointer-
484 If unsure, say Y to enable frontswap.
/Linux-v5.10/include/linux/
Dshmem_fs.h81 extern int shmem_unuse(unsigned int type, bool frontswap,
/Linux-v5.10/
DMAINTAINERS7167 F: include/linux/frontswap.h
7168 F: mm/frontswap.c