Home
last modified time | relevance | path

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

/Linux-v4.19/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 …]
D00-INDEX9 frontswap.rst
10 - Outline frontswap, part of the transcendent memory frontend.
Dindex.rst32 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-v4.19/drivers/xen/
Dtmem.c44 static bool frontswap __read_mostly = true;
45 module_param(frontswap, bool, S_IRUGO);
47 #define frontswap (0) macro
378 if (tmem_enabled && frontswap) { in xen_tmem_init()
406 if (!frontswap) { in xen_tmem_init()
DKconfig22 frontswap-selfshrinking is enabled by default but can be disabled
202 (e.g. cleancache and frontswap) to Xen tmem hypercalls.
/Linux-v4.19/mm/
DMakefile58 obj-$(CONFIG_FRONTSWAP) += frontswap.o
Dswapfile.c1970 unsigned int prev, bool frontswap) in find_next_to_unuse() argument
1998 if (!frontswap || frontswap_test(si, i)) in find_next_to_unuse()
2014 int try_to_unuse(unsigned int type, bool frontswap, in try_to_unuse() argument
2052 while ((i = find_next_to_unuse(si, i, frontswap)) != 0) { in try_to_unuse()
2228 if (frontswap && pages_to_unuse > 0) { in try_to_unuse()
DKconfig466 bool "Enable frontswap to cache swap pages if tmem is present"
476 available, all frontswap calls are reduced to a single pointer-
480 If unsure, say Y to enable frontswap.
/Linux-v4.19/Documentation/admin-guide/
Dkernel-parameters.txt4446 tmem.frontswap=0|1 [KNL, XEN]
4447 Default is on (1). Disable the usage of the frontswap
/Linux-v4.19/
DMAINTAINERS5982 F: mm/frontswap.c
5983 F: include/linux/frontswap.h