Messages in this thread | | | Date | Tue, 27 Sep 2022 14:31:30 +0200 | From | Christoph Hellwig <> | Subject | Re: [PATCH v5 2/5] Revert "frontswap: simplify frontswap_register_ops" |
| |
On Tue, Sep 27, 2022 at 07:12:58PM +0800, Liu Shixin wrote: > If not do this, while some user enable swap device first and then enable zswap, > zswap will not take effect. The user need to re-enable the swap device which is > inconvenient.
So load the module before swapping on, just like you'd load any driver before you expect to use it.
| |