[$] Better tools for out-of-memory debugging

Post Syndicated from original https://lwn.net/Articles/894546/

Out-of-memory (OOM) situations are dreaded by users, system administrators,
and kernel developers alike. Usually, all that is known is that a lot of
memory is being used somewhere and the system has run out, but the kernel provides little help to
anybody trying to figure out where the memory has gone. In a memory-management
session at the 2022
Linux Storage, Filesystem, Memory-management and BPF Summit
(LSFMM),
Kent Overstreet asked what could be done to improve OOM reports and reduce
the pain for all involved.