Home
last modified time | relevance | path

Searched full:swap (Results 1 – 25 of 127) sorted by relevance

123456

/Documentation/power/
Dswsusp-and-swap-files.rst2 Using swap files with software suspend (swsusp)
7 The Linux kernel handles swap files almost in the same way as it handles swap
8 partitions and there are only two differences between these two types of swap
10 (1) swap files need not be contiguous,
11 (2) the header of a swap file is not in the first block of the partition that
13 already taken care of by the swap-handling code, but (2) has to be taken into
16 In principle the location of a swap file's header may be determined with the
18 filesystem holding the swap file to be mounted, and if this filesystem is
20 identify a swap file swsusp uses the name of the partition that holds the file
21 and the offset from the beginning of the partition at which the swap file's
[all …]
Dswsusp.rst2 Swap suspend
34 Swap partition:
38 Swap file:
51 - If you would like to write hibernation image to swap and then suspend
102 powerdowns. You must explicitly specify the swap partition to resume from with
185 encryption) and arbitrary backends for writing the image (eg to swap
224 * SUSPEND all but swap device and parents
227 * SUSPEND swap device and parents
230 Oh no, that does not work, if swap device or its parents uses DMA,
233 * SUSPEND all but swap device and parents
[all …]
Dswsusp-dmcrypt.rst17 the swap device(s) and the boot partition which may contain a mini
21 At this point you want to encrypt your swap, too. Still you want to
27 swap device.
30 a way that the swap device you suspend to/resume from has
33 to always set up this swap device first with dmsetup, so that
56 card contains at least the encrypted swap setup in a file
67 initrd that allows you to resume from encrypted swap and that
126 pcmcia flash disk. If this succeeds we need to reset the swap
133 Otherwise we just remove the encrypted swap device and leave it to the
Duserland-swsusp.rst76 return the amount of available swap in bytes
81 allocate a swap page from the resume partition
83 will contain the swap page offset if the call is successful)
86 free all swap pages allocated by
91 units) from the beginning of the partition at which the swap header is
94 containing the resume device specification and the offset); for swap
96 swap files (see Documentation/power/swsusp-and-swap-files.rst for
130 and all swap pages allocated with SNAPSHOT_ALLOC_SWAP_PAGE (if any).
137 snapshot image from/to the kernel will use a swap partition, called the resume
138 partition, or a swap file as storage space (if a swap file is used, the resume
Dindex.rst24 swsusp-and-swap-files
/Documentation/admin-guide/mm/
Dswap_numa.rst2 Automatically bind swap device to numa node
5 If the system has more than one swap device and swap device has the node
6 information, we can make use of this information to decide which swap
13 Swap device has priority and that decides the order of it to be used. To make
15 for swap devices. e.g. on a 2 node machine, assume 2 swap devices swapA and
22 Then node 0 will use the two swap devices in the order of swapA then swapB and
23 node 1 will use the two swap devices in the order of swapB then swapA. Note
26 A more complex example on a 4 node machine. Assume 6 swap devices are going to
29 The way to swap them on is the same as above::
42 swapA and swapB will be used in a round robin mode before any other swap device.
[all …]
Dzswap.rst8 Zswap is a lightweight compressed cache for swap pages. It takes pages that are
11 for potentially reduced swap I/O. This trade-off can also result in a
13 faster than reads from a swap device.
20 dramatically reduce their swap I/O pressure, avoiding heavy handed I/O
23 * Users with SSDs as swap devices can extend the life of the device by
26 Zswap evicts pages from compressed cache on an LRU basis to the backing swap
45 pages out of the compressed pool, a swapoff on the swap device(s) will
52 Zswap receives pages for compression from the swap subsystem and is able to
54 the backing swap device in the case that the compressed pool is full.
73 When a swap page is passed from swapout to zswap, zswap maintains a mapping
[all …]
Dpagemap.rst17 * Bits 0-4 swap type if swapped
18 * Bits 5-54 swap offset if swapped
35 If the page is not present but in swap, then the PFN contains an
36 encoding of the swap file number and the page's offset into the
37 swap. Unmapped pages return a null PFN. This allows determining
38 precisely which pages are mapped (or in swap) and comparing mapped
170 The page is mapped to swap space, i.e. has an associated swap entry.
172 The page is backed by swap/RAM.
184 In kernel space, the swap location can still be retrieved from the page cache.
196 mincore() can differentiate between pages in memory (present, including swap
/Documentation/ABI/testing/
Dsysfs-kernel-mm-swap1 What: /sys/kernel/mm/swap/
6 What: /sys/kernel/mm/swap/vma_ra_enabled
9 Description: Enable/disable VMA based swap readahead.
11 If set to true, the VMA based swap readahead algorithm
13 VMA, and the global swap readahead algorithm will be
15 false, the global swap readahead algorithm will be
Dsysfs-platform-phy-rcar-gen3-usb27 The file can show/change the phy mode for role swap of usb.
Dsysfs-kernel-mm-numa19 is performed before swap. It may move data to a NUMA
/Documentation/admin-guide/cgroup-v1/
Dmemcg_test.rst47 Called when swp_entry's refcnt goes down to 0. A charge against swap
74 4.1 Swap-in.
75 At swap-in, the page is taken from swap-cache. There are 2 cases.
81 4.2 Swap-out.
82 At swap-out, typical state transition is below.
84 (a) add to swap cache. (marked as SwapCache)
88 (c) write back to swap.
89 (d) delete from swap cache. (remove from SwapCache)
121 - Both on radix-tree and SwapCache. This happens at swap-in
122 and swap-out,
[all …]
Dmemory.rst46 - accounting anonymous pages, file caches, swap caches usage and limiting them.
48 - optionally, memory+swap usage can be accounted and limited.
71 memory.memsw.usage_in_bytes show current usage for memory+Swap
74 memory.memsw.limit_in_bytes set/show limit of memory+Swap usage
76 memory.memsw.failcnt show the number of memory+Swap hits limits
78 memory.memsw.max_usage_in_bytes show max memory+Swap usage recorded
229 Since page's memcg recorded into swap whatever memsw enabled, the page will
250 2.4 Swap Extension
253 Swap usage is always recorded for each of cgroup. Swap Extension allows you to
261 memsw means memory+swap. Usage of memory+swap is limited by
[all …]
/Documentation/filesystems/
Dtmpfs.rst15 shrinks to accommodate the files it contains and is able to swap
16 unneeded pages out to swap space, if swap was enabled for the tmpfs
24 trusted.*, security.* and user.* namespaces. ramfs does not use swap and you
32 this ramdisk. As with ramfs, brd ramdisks cannot swap. brd ramdisks are also
37 Since tmpfs lives completely in the page cache and optionally on swap,
68 e.g. on /tmp and /var/tmp and have a big swap partition. And now
79 default is half of your physical RAM without swap. If you
104 tmpfs has a mount option to disable its use of swap:
107 noswap Disables swap. Remounts must respect the original settings.
108 By default swap is enabled.
[all …]
/Documentation/mm/
Dovercommit-accounting.rst11 reduce swap usage. This is the default.
21 system is not permitted to exceed swap + a configurable amount
57 | SHARED or READ-only - 0 cost (the file is the map not swap)
Dswap.rst4 Swap title
/Documentation/devicetree/bindings/hwmon/
Dadi,adm1177.yaml7 title: Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor
13 Analog Devices ADM1177 Hot Swap Controller and Digital Power Monitor
/Documentation/admin-guide/sysctl/
Dvm.rst23 files can be found in mm/swap.c.
388 applications are using mlock(), or if you are running with no swap then
496 the swap cache, but works for the majority of user pages.
787 permitted to exceed swap plus this amount of physical RAM. See below.
800 size against total memory plus swap and rejects obvious overcommits.
823 space is not permitted to exceed swap plus this percentage
831 are read in from swap in a single attempt. This is the swap counterpart
834 but consecutive on swap space - that means they were swapped out together.
838 Zero disables swap readahead completely.
842 swap-intensive.
[all …]
/Documentation/devicetree/bindings/phy/
Dmarvell,armada-cp110-utmi-phy.yaml44 swap-dx-lanes:
47 Specifies the ports which will swap the differential-pair (D+/D-),
/Documentation/devicetree/bindings/serial/
Dst,stm32-uart.yaml38 rx-tx-swap: true
96 rx-tx-swap: false
Dserial.yaml72 rx-tx-swap:
76 cts-rts-swap:
/Documentation/hwmon/
Dltc4286.rst31 and LTC4287 Hot-Swap Controller and Digital Power Monitors.
33 LTC4286 and LTC4287 are hot-swap controllers that allow a circuit board
/Documentation/devicetree/bindings/usb/
Dqcom,pmic-typec.yaml60 - description: Power Domain Fast Role Swap event
80 - const: fr-swap
175 "fr-swap";
/Documentation/devicetree/bindings/net/
Dethernet-phy.yaml110 enet-phy-lane-swap:
113 If set, indicates the PHY will swap the TX/RX lanes to
117 enet-phy-lane-no-swap:
120 If set, indicates that PHY will disable swap of the
/Documentation/translations/zh_CN/power/
Dindex.rst34 * swsusp-and-swap-files

123456