Re: [patch] trivial sysrq addon

From: Andrew Morton
Date: Tue Oct 26 2004 - 23:01:33 EST


Christian Leber <christian@xxxxxxxx> wrote:
>
> I think sysrq needs a key to call oom_kill manually.

oy, you can't do that - oom_kill() takes non-IRQ-safe locks.

You'll have to use schedule_work() to punt the operation up to process
context.
-
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/