Re: [patch] oom-killer sysrq-f fix

2005-03-25 Thread Andrew Morton
Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote: > > OK, the following patch put moom into workqueue. hm. Simple, isn't it? > Do you agree to put sysrq-e and sysrq-i into workqueue too? If you spy a deadlock then yes, I suppose we should. - To unsubscribe from this list: send the line "unsubscribe l

Re: [patch] oom-killer sysrq-f fix

2005-03-24 Thread Coywolf Qi Hunt
On Thu, Mar 24, 2005 at 05:21:27PM -0800, Andrew Morton wrote: > Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote: > > > > >>--- 2.6.12-rc1-mm2/mm/oom_kill.c 2005-03-03 17:12:18.0 +0800 > > >>+++ 2.6.12-rc1-mm2-cy/mm/oom_kill.c 2005-03-25 08:07:19.0 > > >>+0800 > > >>@@ -20,6 +20,7

Re: [patch] oom-killer sysrq-f fix

2005-03-24 Thread Andrew Morton
Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote: > > >>--- 2.6.12-rc1-mm2/mm/oom_kill.c2005-03-03 17:12:18.0 +0800 > >>+++ 2.6.12-rc1-mm2-cy/mm/oom_kill.c 2005-03-25 08:07:19.0 +0800 > >>@@ -20,6 +20,7 @@ > >> #include > >> #include > >> #include > >>+#include > >> > >> /* #defin

Re: [patch] oom-killer sysrq-f fix

2005-03-24 Thread Coywolf Qi Hunt
Andrew Morton wrote: Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote: Recent make-sysrq-f-call-oom_kill.patch calls oom-killer in interrupt context, thus results into panic. This patch fixes out_of_memory() to avoid schedule when in interrupt context. Coywolf Signed-off-by: Coywolf Qi Hunt <[EMAI

[patch] oom-killer sysrq-f fix

2005-03-24 Thread Coywolf Qi Hunt
Hello, akpm, I saw you noticed it, http://www.ussg.iu.edu/hypermail/linux/kernel/0412.0/0424.html Jim Nelson, this patch is to your post: 2.6.11-rc2-mm2 - kernel panic with SysRq-f Recent make-sysrq-f-call-oom_kill.patch calls oom-killer in interrupt context, thus results into panic. This pat

Re: [patch] oom-killer sysrq-f fix

2005-03-24 Thread Andrew Morton
Coywolf Qi Hunt <[EMAIL PROTECTED]> wrote: > > Recent make-sysrq-f-call-oom_kill.patch calls oom-killer in interrupt context, > thus results into panic. This patch fixes out_of_memory() to avoid schedule > when in interrupt context. > > Coywolf > > > Signed-off-by: Coywolf Qi Hunt <[EMAIL