Re: VM nuisance

From: Justin A (justin@bouncybouncy.net)
Date: Thu Aug 16 2001 - 19:24:12 EST


Wouldn't it be just a matter of

case 'f': /* F -- oom handlder _f_ree memory */
        printk("Run OOM Handler\n");
        oom_kill();
        break;

in handle_sysrq in sysrq.c?

-Justin

On Thu, Aug 16, 2001 at 05:06:40PM -0700, Dr. Kelsey Hudson wrote:
> On Thu, 16 Aug 2001, Justin A wrote:
>
> > Though it is not a complete solution for all cases(servers etc),
> > could a SysReq combination be added that triggers OOM? I'm sure many
> > people use SysReq-k on occasion to get a system out of endless
> > swapping, I think having a SysReq key for OOM would be a great
> > improvement.
> >
> > Comments?
>
> I think it's a damn good idea. I'd actually begin coding that now, if I
> knew where to start. SysRQ has saved my life more than once -- i'm sure it
> would help all the other people who are having problems with randomized
> thrashing and stuff.
>
> Kelsey Hudson khudson@ctica.com
> Software Engineer
> Compendium Technologies, Inc (619) 725-0771
> ---------------------------------------------------------------------------
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:19 EST