Re: [patch] trivial sysrq addon

From: Andrew Morton (akpm_at_osdl.org)
Date: 10/26/04

  • Next message: Andrew Morton: "Re: 2.6.9-mm1"
    Date:	Mon, 25 Oct 2004 16:32:15 -0700
    To: Christian Leber <christian@leber.de>
    
    

    Christian Leber <christian@leber.de> 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Andrew Morton: "Re: 2.6.9-mm1"

    Relevant Pages

    • Re: 2.6.4 on Alpha uninterruptible sleep of processes
      ... > The system starts swapping like crazy, most processes are in the D-state ... mentioned when processes begins to hang, all file operations like tail -f ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: [PATCH] remove dead drivers/ide/ppc/swarm.c
      ... > IDE bus must be always LE independently of system being LE or BE. ... > when system is BE swapping is also needed. ... Maciej W. Rozycki, Technical University of Gdansk, Poland + ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-test9 - poor swap performance on low end machines
      ... > even most modern servers, due to assumptions that are incorrect today ... Swapping out a 64kB process to a disk that does 180kB/s ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Patch] Per kthread freezer flags
      ... long time when you start to swap to an optical disc. ... swapping, in which case nasty things will probably happen. ... think I/O errors on a swap device can be handled in a sane way by the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 1352 NUL bytes at the end of a page? (was Re: Assertion `s && s->tree failed: The sag
      ... On Sat, 15 May 2004, Andrew Morton wrote: ... I think Steven's machine (according to an earlier 'dmesg') has something ... So if it's IO-related or happens when swapping... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)