| ▲ | hkolk 6 hours ago | |||||||
What is proposed is to not have an OOM killer with a selection process, meaning that the "someone other allocates" would be the one dying. | ||||||||
| ▲ | tux3 6 hours ago | parent | next [-] | |||||||
The problem is that Linux has memory overcommit and it will OOM when a process faults a page in, not just when someone allocates memory. So the OOM condition can hit any random process, not necessarily one that just tried to allocate. If you don't have some sort of selection, then you would still have an OOM killer, only it will be killing completely at random. | ||||||||
| ||||||||
| ▲ | sedatk 6 hours ago | parent | prev [-] | |||||||
Yes, don’t have OOM roulette. | ||||||||