On Sat, Sep 26, 2026 at 12:55:13PM +0800, Matthias Goergens wrote:
This RFC adds offload-only swap areas for deliberate cold-page offload to
backends unsuitable for pressure reclaim. ZFS zvol swap has documented
deadlocks under memory pressure [3]; compressed swap is another target
because writes may need memory despite free logical slots.
Out of tree code not matter. Out of tree that violates the linux
license terms even less.
Either way block devices must be safe to be called from paging paths,
not just for swap but also for file system based paging. So this is a
bug in the implementation, and not something worked around in the swap
code.