Re: [PATCH] Remove OOM killer from try_to_free_pages / all_unreclaimable braindamage

Thomas Gleixner
2004-11-05T23:56:01Z

On Fri, 2004-11-05 at 15:32 -0800, Jesse Barnes wrote:
> On Friday, November 05, 2004 12:01 pm, Marcelo Tosatti wrote:
> > Comments?
>
> Sounds good, though we may want to do a couple of more things, we shouldn't
> kill root tasks quite as easily and we should avoid zombies since they may be
> large apps in the process of exiting, and killing them would be bad (iirc
> it'll cause a panic).
>

Yep, it makes sense, but it still does not fix the selection problem,
where e.g. sshd is killed while a out of control forking server floods
the machine with child processes.

Patch to address this:
http://marc.theaimsgroup.com/?l=linux-kernel&m=109922680000746&w=2

tglx