Gentoo Archives: gentoo-user

From: Martin Vaeth <martin@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Puzzled by zswap [Was: tmp on tmpfs]
Date: Thu, 25 May 2017 19:16:53
Message-Id: slrnoiebcj.sbh.martin@lounge.imp.fu-berlin.de
In Reply to: [gentoo-user] Puzzled by zswap [Was: tmp on tmpfs] by Ian Zimmerman
1 Ian Zimmerman <itz@×××××××.net> wrote:
2 >
3 > 1. How does it know which swap device to use as backing store, if any?
4
5 My understanding is that zswap is lower level: only in the moment when a
6 page _would_ be stored, the zswap code is called. That's why activating
7 zsawp has absolutely no effect if there is no swap device: it simply is
8 never called in this case.
9
10 Concerning your other questions: The interface has changed several times.
11 I guess the documentation is simply not up-to-date anymore...