Re: kswapd in tight loop 2.6.9-rc3-bk-recent

From: Nick Piggin (nickpiggin_at_yahoo.com.au)
Date: 10/08/04

  • Next message: Jesper Juhl: "Re: Possible GPL Violation of Linux in Amstrad's E3 Videophone"
    Date:	Fri, 08 Oct 2004 10:34:47 +1000
    To: Andrew Morton <akpm@osdl.org>
    
    

    Andrew Morton wrote:

    >
    >This probably won't fix it.
    >
    >It looks like the code will lock up if all zones are out of unreclaimable
    >memory, but you won't be hitting that.
    >
    >

    Out of _reclaimable_ memory?

    It shouldn't if all_unreclaimable is being set correctly.

    >I also wonder if it'll lock up if just the first zone has ->all_unreclaimable.
    >
    >

    Well, not if the all_unreclaimable flag is set, but if it should be and
    isn't,
    then probably it will lock up.

    >I think a good starting point here will be to revert the most recent
    >change.
    >

    That may fix it for the simple fact that kswapd will just go through its
    priority loop once then stop.

    I think that resetting all_unreclaimable in free_pages_bulk is the wrong
    idea though, because that will keep it clear if a bit of kernel memory is
    being pinned and freed in the background, won't it?

    I had a look and decided that all_unreclaimable should probably be cleared
    only if vmscan.c frees some memory - but I couldn't really come up with any
    hard numbers to back me up :P

    -
    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: Jesper Juhl: "Re: Possible GPL Violation of Linux in Amstrad's E3 Videophone"

    Relevant Pages

    • [ANNOUNCE] Linux-2.4.32-hf32.5
      ... Fix memory corruption caused by snmp_trap_decode which may free ... to 2.4.32 kernels use neither of these timers. ... on 2.4 update the inode ctime on rename. ...
      (Linux-Kernel)
    • Re: XP Setup hangs with dual PIII-550 on Asus P2B-DS v1.04
      ... I have one IDE 80Gb drive attached to Primary IDE and one CD-ROM on the secondary IDE. ... It might be a memory issue, but in the one CPU config the installation always works without a hitch, which leads me to believe the memory issue if it exists is not the main problem. ... Do you happen to know if moving the R79 to R80 is the correct fix for ACPI and what it actually does? ... about 2-3 minutes with only a reset helping.. ...
      (alt.comp.periphs.mainboard.asus)
    • Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00
      ... >> make a proper fix, and I'm sure you have other things to do too. ... > more free memory. ... The memory system ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: log-buf-len dynamic
      ... What arch, I thought you meant the original log_buf ... memory is not released, I will fix that, then the waste will be zero and ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: *** Temporarely fix for X-Fi soundblaster crackling sounds ***
      ... I came across this fix in the past I think but I didn't try it... ... more so you ll have a lot more sound crackling. ... So maybe that will give some extra memory and still solve the sound ...
      (alt.comp.hardware.pc-homebuilt)