Numerous "MM" Improvements Land In Linux 5.19

Written by Michael Larabel in Linux Kernel on 28 May 2022 at 07:30 AM EDT. 15 Comments
Andrew Morton with his recent shift to a Git-based workflow rather than maintaining long patch series has sent in all of the memory management "mm" changes for the Linux 5.19 merge window.

As usual, the "mm" changes collected by Morton span a wide range of work. For Linux 5.19 some of the highlights from this pull include:

- Memcg accounting for Zswap. Currently applications can escape their cgroup memory containment when Zswap is enabled. But now with Linux 5.19 is per-cgroup tracking and limiting of Zswap back-end memory to address this prior oversight.

- Improvements to the SWAP over NFS handling and more broadly various swap-via-file-system enhancements.

- DAMON as the Data Access Monitoring framework developed by Amazon there is now support for online tuning. Up to now configuring DAMON via sysfs hasn't provided a way to adjust the DAMON input parameters while running and thus required stopping/starting DAMON. In turn the DAMON restarts flushes all of the accumulated monitoring results so instead there is now support for online updating of inputs via sysfs.

- Adding the "hugetlb_optimize_vmemmap" sysctl know for online/run-time enabling/toggling of the huge page vmemmap optimization. Thus cuts down on possible downtime for rebooting the server to enabling this memory optimization or for selectively toggling hugetlb_optimize_vmemmap during run-time depending upon the workloads/applications.

This pull request goes over all of the other Linux 5.19 memory management related changes so far for this first week of the merge window.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week