Does it actually work?
Does it actually work?
Posted Apr 9, 2025 1:12 UTC (Wed) by pm215 (subscriber, #98099)In reply to: Does it actually work? by intelfx
Parent article: Three ways to rework the swap subsystem
Is it possible to avoid the machine getting into that thrashing state in the first place, though? On a desktop system what I typically find is that all is fine almost all of the time; but occasionally some process goes rogue (most recently it was clangd running away with all the memory). When that happens everything goes unusably noninteractive until the OOM killer kicks in and kills (hopefully) the offending process. What I would prefer is that instead of giving the offender so much of the available RAM that the whole system is unusable is that the kernel dynamically restricts the resources the rogue can have *before* that point, so the system stays interactively usable if perhaps a bit sluggish (and it's fine if the rogue makes no forward progress at all) until the OOM killer can do its thing...
