[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-kernel
Subject: Re: ~500 megs cached yet 2.6.5 goes into swap hell
From: Marc Singer <elf () buici ! com>
Date: 2004-04-30 22:31:12
Message-ID: 20040430223112.GA29325 () buici ! com
[Download RAW message or body]
On Fri, Apr 30, 2004 at 02:08:03PM +1000, Nick Piggin wrote:
> You would probably be better off trying a simpler change
> first actually:
>
> in mm/vmscan.c, shrink_list(), change:
>
> if (res == WRITEPAGE_ACTIVATE) {
> ClearPageReclaim(page);
> goto activate_locked;
> }
>
> to
>
> if (res == WRITEPAGE_ACTIVATE) {
> ClearPageReclaim(page);
> goto keep_locked;
> }
>
> I think it is not the correct solution, but should narrow
> down your problem. Let us know how it goes.
OK, thanks. It might be a few days before I can get to this.
-
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/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic