Hi Chris,

Does zswap actually keep the data compressed when the DRAM-based swap is full, 
and it writes to the spill-over non-volatile swap device?

I'm not an expert on this at all, however my understanding was that zswap must 
decompress the data before it writes to the backing swap.  But perhaps I am 
misunderstanding the purpose of zswap_writeback_entry()[1] and/or what it does.

[1] 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/mm/zswap.c#n828
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to