Out-of-memory victim selection with BPF
Out-of-memory victim selection with BPF
Posted Aug 18, 2023 23:50 UTC (Fri) by roc (subscriber, #30627)In reply to: Out-of-memory victim selection with BPF by khim
Parent article: Out-of-memory victim selection with BPF
Applications and libraries became more and more complex and handling OOM became less and less feasible. Popping up a messagebox, receiving input, and handling document close events without allocating memory is a lot of hard work and as the OS components involved became more complex (e.g. window compositor, more complex graphics) that work became harder and harder, so people stopped trying.
Personally I don't hark back to those "good old days". They were also the days when a bug in one application or a power flicker would crash the entire system and cause you to lose all work not manually saved. Modern applications continually save your data so you lose practically nothing if the application dies for any reason --- a much better approach, which also makes specialized OOM handling unnecessary.
