Re: [PATCH][2/2] do not OOM kill if we skip writing many pages

From: Rik van Riel (riel_at_redhat.com)
Date: 01/03/05

  • Next message: Bill Davidsen: "2.6.10 IRQ 18 issues gone away"
    Date:	Sun, 2 Jan 2005 23:20:28 -0500 (EST)
    To: Andrea Arcangeli <andrea@suse.de>
    
    

    On Sun, 2 Jan 2005, Andrea Arcangeli wrote:

    > I don't like this one, it's much less obvious than 1/2. After your
    > obviously right 1/2 we're already guaranteed at least a percentage of
    > the ram will not be dirty. Is the below really needed even after 1/2 +
    > Andrew's fix? Are you sure this isn't a workaround for the lack of
    > Andrew's fix.

    Agreed, Andrew's fix should in theory be enough and only my
    1/2 should be needed.

    However, in practice people are still generating OOM kills
    even with both Andrew's fix and my own patch applied, so I
    suspect there's another hole left open somewhere...

    -- 
    "Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are,
    by definition, not smart enough to debug it." - Brian W. Kernighan
    -
    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: Bill Davidsen: "2.6.10 IRQ 18 issues gone away"

    Relevant Pages

    • Re: [PATCH][1/2] adjust dirty threshold for lowmem-only mappings
      ... On Fri, 24 Dec 2004, Andrea Arcangeli wrote: ... > value after applying that patch? ... > Of course I know if you don't apply Con's fix it will run oom, ... 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/ ...
      (Linux-Kernel)
    • Re: Power Management Update
      ... I encountered this problem by having an IDE CD-ROM, ... He mentioned producing a cleaner patch, but this should at least fix the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] fs/fcntl.c : dont test unsigned value for less than zero
      ... I think the real problem here is that 'arg' ... architecture's ptrace code could easily make use of the latter, ... But be careful not to "fix up" ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Testing RC kernels [KORG]
      ... Can someone with access to the html for kernel.org please fix that? ... We've had several messages now complaining about this. ... Copyright 2005 by Maurice Eugene Heskett, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.4.22-rc2 ext2 filesystem corruption
      ... > # Without this fix it mistakenly assumes that the empty drive slot ... the 64K cylinders problem) I know I saw transfer speeds greater than ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)