Lines Matching refs:zpool
52 Zswap makes use of zpool for the managing the compressed memory pool. Each
53 allocation in zpool is not directly accessible by address. Rather, a handle is
56 pages are freed. The pool is not preallocated. By default, a zpool of type
57 zbud is created, but it can be selected at boot time by setting the "zpool"
58 attribute, e.g. zswap.zpool=zbud. It can also be changed at runtime using the
59 sysfs "zpool" attribute, e.g.
61 echo zbud > /sys/module/zswap/parameters/zpool
63 The zbud type zpool allocates exactly 1 page to store 2 compressed pages, which
65 zbud pages). The zsmalloc type zpool has a more complex compressed page
71 of the swap entry, a combination of the swap type and swap offset, to the zpool
95 When the zpool and/or compressor parameter is changed at runtime, any existing
96 compressed pages are not modified; they are left in their own zpool. When a
97 request is made for a page in an old zpool, it is uncompressed using its
98 original compressor. Once all pages are removed from an old zpool, the zpool