From: Hugh Dickins <hugh.dickins@tiscali.co.uk>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org,
"linux-mm@kvack.org" <linux-mm@kvack.org>
Subject: Re: [mmotm][BUG] free is bigger than presnet Re: mmotm 2009-08-27-16-51 uploaded
Date: Tue, 1 Sep 2009 10:33:31 +0100 (BST) [thread overview]
Message-ID: <Pine.LNX.4.64.0909011031140.13740@sister.anvils> (raw)
In-Reply-To: <20090901180032.55f7b8ca.kamezawa.hiroyu@jp.fujitsu.com>
On Tue, 1 Sep 2009, KAMEZAWA Hiroyuki wrote:
>
> I'm not digggin so much but /proc/meminfo corrupted.
>
> [kamezawa@bluextal cgroup]$ cat /proc/meminfo
> MemTotal: 24421124 kB
> MemFree: 38314388 kB
If that's without my fix to shrink_active_list(), I'd try again with.
Hugh
[PATCH mmotm] vmscan move pgdeactivate modification to shrink_active_list fix
mmotm 2009-08-27-16-51 lets the OOM killer loose on my loads even
quicker than last time: one bug fixed but another bug introduced.
vmscan-move-pgdeactivate-modification-to-shrink_active_list.patch
forgot to add NR_LRU_BASE to lru index to make zone_page_state index.
Signed-off-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
---
mm/vmscan.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
--- mmotm/mm/vmscan.c 2009-08-28 10:07:57.000000000 +0100
+++ linux/mm/vmscan.c 2009-08-28 18:30:33.000000000 +0100
@@ -1381,8 +1381,10 @@ static void shrink_active_list(unsigned
reclaim_stat->recent_rotated[file] += nr_rotated;
__count_vm_events(PGDEACTIVATE, nr_deactivated);
__mod_zone_page_state(zone, NR_ISOLATED_ANON + file, -nr_taken);
- __mod_zone_page_state(zone, LRU_ACTIVE + file * LRU_FILE, nr_rotated);
- __mod_zone_page_state(zone, LRU_BASE + file * LRU_FILE, nr_deactivated);
+ __mod_zone_page_state(zone, NR_ACTIVE_ANON + file * LRU_FILE,
+ nr_rotated);
+ __mod_zone_page_state(zone, NR_INACTIVE_ANON + file * LRU_FILE,
+ nr_deactivated);
spin_unlock_irq(&zone->lru_lock);
}
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2009-09-01 9:34 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200908272355.n7RNtghC019990@imap1.linux-foundation.org>
2009-09-01 9:00 ` KAMEZAWA Hiroyuki
2009-09-01 9:33 ` Hugh Dickins [this message]
2009-09-01 9:50 ` KAMEZAWA Hiroyuki
2009-09-01 10:10 ` KAMEZAWA Hiroyuki
2009-09-01 11:00 ` Hugh Dickins
2009-09-01 11:23 ` Hugh Dickins
2009-09-01 11:46 ` KAMEZAWA Hiroyuki
2009-09-02 0:08 ` KAMEZAWA Hiroyuki
2009-09-01 9:39 ` Johannes Weiner
[not found] ` <20090901180717.f707c58f.kamezawa.hiroyu@jp.fujitsu.com>
2009-09-03 21:28 ` [mmotm][BUG] lockdep warning block I/O (Was " Andrew Morton
2009-09-04 4:21 ` KAMEZAWA Hiroyuki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0909011031140.13740@sister.anvils \
--to=hugh.dickins@tiscali.co.uk \
--cc=akpm@linux-foundation.org \
--cc=kamezawa.hiroyu@jp.fujitsu.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox