Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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 --
/kernel/linux/linux-5.10/mm/
Dswapfile.c1957 unsigned int type, bool frontswap, in unuse_pte_range() argument
1981 if (frontswap && !frontswap_test(si, offset)) in unuse_pte_range()
2029 unsigned int type, bool frontswap, in unuse_pmd_range() argument
2043 frontswap, fs_pages_to_unuse); in unuse_pmd_range()
2052 unsigned int type, bool frontswap, in unuse_pud_range() argument
2065 frontswap, fs_pages_to_unuse); in unuse_pud_range()
2074 unsigned int type, bool frontswap, in unuse_p4d_range() argument
2087 frontswap, fs_pages_to_unuse); in unuse_p4d_range()
2095 bool frontswap, unsigned long *fs_pages_to_unuse) in unuse_vma() argument
2110 frontswap, fs_pages_to_unuse); in unuse_vma()
[all …]
DMakefile74 obj-$(CONFIG_FRONTSWAP) += frontswap.o
Dshmem.c1195 unsigned int type, bool frontswap) in shmem_find_swap_entries() argument
1216 if (frontswap && in shmem_find_swap_entries()
1272 bool frontswap, unsigned long *fs_pages_to_unuse) in shmem_unuse_inode() argument
1278 bool frontswap_partial = (frontswap && *fs_pages_to_unuse > 0); in shmem_unuse_inode()
1290 type, frontswap); in shmem_unuse_inode()
1319 int shmem_unuse(unsigned int type, bool frontswap, in shmem_unuse() argument
1343 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
DKconfig521 bool "Enable frontswap to cache swap pages if tmem is present"
530 available, all frontswap calls are reduced to a single pointer-
534 If unsure, say Y to enable frontswap.
/kernel/linux/linux-5.10/include/linux/
Dshmem_fs.h81 extern int shmem_unuse(unsigned int type, bool frontswap,
/kernel/linux/linux-5.10/
DMAINTAINERS7168 F: include/linux/frontswap.h
7169 F: mm/frontswap.c