Re: oom killing

From: Andrea Arcangeli (andrea@suse.de)
Date: Thu Mar 02 2000 - 11:50:07 EST


On Thu, 2 Mar 2000, ADAM Sulmicki wrote:

>Can you give brief description what whatw as wrong/how if it is fixing.

o avoids the per-mm swap information to be reloaded more than
        one time per-swapout try
o fixes some places not checking the handle_mm_fault retval
o try to not sigkill iopl task but tries 10 sigterm first
o more graceful handling of oom into the signal code
o avoids init to be killed or to fail a copy_user due oom

I sent such patch fragmented to Linus so some part should show up in the
2.3.x tree soon. For some thing (iopl killing) as suggested by Linus it
has to be done in another way to allow ioperm to be threated similar to
iopl and for other architectures. That's all work in progress.

For now you can go safe and you can apply such patch if you want to run
2.3.x without getting oom hangs (even it such patch is not exactly clean
as what will show up in the real kernel eventually).

Andrea

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Mar 07 2000 - 21:00:12 EST