Lines Matching +full:use +full:- +full:ram +full:- +full:code
10 dynamically allocated RAM-based memory pool. zswap basically trades CPU cycles
11 for potentially reduced swap I/O. This trade-off can also result in a
17 * Desktop/laptop users with limited RAM capacities can mitigate the
24 drastically reducing life-shortening writes.
56 Zswap makes use of zpool for the managing the compressed memory pool. Each
69 means the compression ratio will always be 2:1 or worse (because of half-full
76 with a red-black tree per swap type. The swap offset is the search key for the
79 During a page fault on a PTE that is a swap entry, the swapin code calls the
84 in the swap_map goes to 0) the swap code calls the zswap invalidate function
90 * max_pool_percent - The maximum percentage of memory that the compressed
107 Some of the pages in zswap are same-value filled pages (i.e. contents of the
108 page have same value or repetitive pattern). These pages include zero-filled
110 checked if it is a same-value filled page before compressing it. If true, the
111 compressed length of the page is set to zero and the pattern or same-filled
120 again after it became full, use the sysfs ``accept_threshold_percent``
129 zswap itself) on a cgroup-basis as follows::
131 echo 0 > /sys/fs/cgroup/<cgroup-name>/memory.zswap.writeback
139 the memory for other use cases. By default, the zswap shrinker is disabled.
148 of pages stored, same-value filled pages and various counters for the reasons