Zswap - using lz4 & z3fold in Debian Stretch
At the moment i've enabled zswap sucessfully with zpool=zbud & lzo compression, on a the stable kernel with app armor running.
I'm trying to enable lz4 & z3fold, i've added lz4,lz4_compress & z3fold to the modules in /etc/initramfs-tools/modules and rebuilt using update-initramfs -u
changing kernel parameter from lzo to lz4 throws a x86/mm W+X error in lz4 module while invoking z3fold gives me a "not available" error and defaults to zbud.
Any suggestions? any background on W+X mapping errors would be of interest too as google only throws up patches & code rather than background.
Posted Jun 2, 2018, 11:53 PM UTC · edited
21
{Update} lz4 isn't worth it after finally getting it to work. I don't think the 4.9 kernel is built with z3fold & the 4.16 in backports doesn't have the tlp modules so it'll have to wait when buster drops.