Home
last modified time | relevance | path

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

/Linux-v5.4/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.rst34 frontswap
Dzswap.rst80 When a swap page is passed from frontswap to zswap, zswap maintains a mapping
86 During a page fault on a PTE that is a swap entry, frontswap calls the zswap
92 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.4/mm/
Dswapfile.c1911 unsigned int type, bool frontswap, in unuse_pte_range() argument
1935 if (frontswap && !frontswap_test(si, offset)) in unuse_pte_range()
1979 unsigned int type, bool frontswap, in unuse_pmd_range() argument
1993 frontswap, fs_pages_to_unuse); in unuse_pmd_range()
2002 unsigned int type, bool frontswap, in unuse_pud_range() argument
2015 frontswap, fs_pages_to_unuse); in unuse_pud_range()
2024 unsigned int type, bool frontswap, in unuse_p4d_range() argument
2037 frontswap, fs_pages_to_unuse); in unuse_p4d_range()
2045 bool frontswap, unsigned long *fs_pages_to_unuse) in unuse_vma() argument
2060 frontswap, fs_pages_to_unuse); in unuse_vma()
[all …]
DMakefile60 obj-$(CONFIG_FRONTSWAP) += frontswap.o
Dshmem.c1124 unsigned int type, bool frontswap) in shmem_find_swap_entries() argument
1145 if (frontswap && in shmem_find_swap_entries()
1201 bool frontswap, unsigned long *fs_pages_to_unuse) in shmem_unuse_inode() argument
1207 bool frontswap_partial = (frontswap && *fs_pages_to_unuse > 0); in shmem_unuse_inode()
1219 type, frontswap); in shmem_unuse_inode()
1248 int shmem_unuse(unsigned int type, bool frontswap, in shmem_unuse() argument
1272 error = shmem_unuse_inode(&info->vfs_inode, type, frontswap, in shmem_unuse()
4047 int shmem_unuse(unsigned int type, bool frontswap, in shmem_unuse() argument
DKconfig457 bool "Enable frontswap to cache swap pages if tmem is present"
466 available, all frontswap calls are reduced to a single pointer-
470 If unsure, say Y to enable frontswap.
/Linux-v5.4/include/linux/
Dshmem_fs.h77 extern int shmem_unuse(unsigned int type, bool frontswap,
/Linux-v5.4/
DMAINTAINERS6667 F: mm/frontswap.c
6668 F: include/linux/frontswap.h