From: Hugh Dickins <hugh@veritas.com>
To: Andrew Morton <akpm@digeo.com>
Cc: Con Kolivas <kernel@kolivas.org>,
dmccr@us.ibm.com, linux-kernel@vger.kernel.org,
linux-mm@kvack.org
Subject: Re: Rising io_load results Re: 2.5.63-mm1
Date: Fri, 28 Feb 2003 12:48:06 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.4.44.0302281245170.1203-100000@localhost.localdomain> (raw)
In-Reply-To: <20030227160656.40ebeb93.akpm@digeo.com>
On Thu, 27 Feb 2003, Andrew Morton wrote:
>
> No, it is still wrong. Mapped cannot exceed MemTotal.
It needs this in addition to Dave's patch from yesterday:
--- 2.5.63-objfix-1/mm/rmap.c Thu Feb 27 23:37:28 2003
+++ 2.5.63-objfix-2/mm/rmap.c Fri Feb 28 12:33:58 2003
@@ -349,7 +349,8 @@
BUG();
if (atomic_read(&page->pte.mapcount) == 0)
BUG();
- atomic_dec(&page->pte.mapcount);
+ if (atomic_dec_and_test(&page->pte.mapcount))
+ dec_page_state(nr_mapped);
return;
}
--
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:"aart@kvack.org">aart@kvack.org</a>
next prev parent reply other threads:[~2003-02-28 12:48 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-27 10:59 2.5.63-mm1 Andrew Morton
2003-02-27 21:22 ` Rising io_load results 2.5.63-mm1 Con Kolivas
2003-02-27 21:44 ` Andrew Morton
2003-02-27 22:01 ` Dave McCracken
2003-02-27 22:24 ` Andrew Morton
2003-03-03 21:06 ` [PATCH 2.5.63] Teach page_mapped about the anon flag Dave McCracken
2003-03-03 21:12 ` Andrew Morton
2003-03-03 21:24 ` Dave McCracken
2003-03-03 21:35 ` Andrew Morton
2003-03-03 21:52 ` Dave McCracken
2003-03-03 22:15 ` Andrew Morton
2003-03-04 18:32 ` [PATCH 2.5.63] Make objrmap mapcount non-atomic Dave McCracken
2003-02-27 23:56 ` Rising io_load results Re: 2.5.63-mm1 Con Kolivas
2003-02-28 0:06 ` Andrew Morton
2003-02-28 0:28 ` Con Kolivas
2003-02-28 7:46 ` Duncan Sands
2003-02-28 8:06 ` Andrew Morton
2003-02-28 12:48 ` Hugh Dickins [this message]
2003-02-28 15:56 ` Dave McCracken
2003-02-28 0:17 ` 2.5.63-mm1 Ed Tomlinson
2003-02-28 0:46 ` 2.5.63-mm1 Andrew Morton
2003-02-28 12:16 ` 2.5.63-mm1 steven roemen
2003-02-28 12:24 ` 2.5.63-mm1 Andrew Morton
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.44.0302281245170.1203-100000@localhost.localdomain \
--to=hugh@veritas.com \
--cc=akpm@digeo.com \
--cc=dmccr@us.ibm.com \
--cc=kernel@kolivas.org \
--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