[email protected] (Christos Zoulas) writes:
>But we kill the process that faulted in this case not the process that
>likely caused the shortage. We should be keeping stats so that we can
>select a better victim, then kill that instead and retry. But this is
>easier said than done :-)
Linux tried for years. The best they have is to mark specific processes
as not eligible for killing.
But first should be to find out what allocation failed. There are
reasons to believe this is caused by the DRM memory management.
And then the X server is the process that caused the shortage and
still shouldn't be killed.
--
--
Michael van Elst
Internet: [email protected]
"A potential Snark may lurk in every tree."