Oddbean new post about | logout
 [$] Large folios, swap, and FS-Cache

David Howells wanted to discuss swap handling in light of multi-page folios
in a combined storage, filesystem, and memory-management session at
the 2024 <a href="https://events.linuxfoundation.org/lsfmmbpf/" rel="nofollow">Linux Storage,
Filesystem, Memory Management, and BPF Summit</a>.  Swapping has always been
done with a one-to-one mapping of memory pages to swap slots, he said, but
swapping multi-page folios breaks that assumption.  He wondered if it would
make sense to use filesystem techniques to track swapped-out folios.

https://lwn.net/Articles/982887/