Re: [patch] trivial sysrq addon

From: Andrew Morton
Date: Mon Oct 25 2004 - 20:24:40 EST


Christian Leber <christian@xxxxxxxx> wrote:
>
> Hello,
>
> my box (2.6.9-final) was yesterday completly stalled (mouse movable and
> stupid loadmeter was still working) after starting mutt and was swapping
> for half an hour until I sent SIGTERM to all processes.
> I suspect it was a 2 GB big galeon process that was the problem.

heh, fair enough.

> I think sysrq needs a key to call oom_kill manually.
>

I'm wondering how you chose 'f'.

> --- linux-2.6.10-rc1.orig/drivers/char/sysrq.c 2004-10-22 23:40:06.000000000 +0200
> +++ linux-2.6.10-rc1/drivers/char/sysrq.c 2004-10-23 18:02:18.000000000 +0200
> @@ -35,6 +35,7 @@
> #include <linux/spinlock.h>
>
> #include <asm/ptrace.h>
> +extern void oom_kill(void);

Well you'll never go to heaven. I'll move this declaration to mm.h.

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