linux-mips
[Top] [All Lists]

Re: [PATCH] do not count pages in holes with sparsemem

To: "Atsushi Nemoto" <anemo@mba.ocn.ne.jp>
Subject: Re: [PATCH] do not count pages in holes with sparsemem
From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
Date: Sat, 8 Jul 2006 18:15:52 +0200
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ATGvwD8yCwQCsxfJhUohckISBKuYuD+QkLZCGBDuduxphHE5FkQIkLiR2vlAerPSFeuGKGIe16cZfkwYR62U7iprL4c9lFoScfGY4jwHs3H1nZsuMBV6f2Ezoq/q4HgbE7NijUjfwsy26WDTB20GaZxhr5ivaSArb8M98mnlGag=
In-reply-to: <20060709.010316.126574153.anemo@mba.ocn.ne.jp>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cda58cb80607060805yc656114p53516b904188c20f@mail.gmail.com> <20060707.002602.75184460.anemo@mba.ocn.ne.jp> <cda58cb80607080739i772d439dqc4e06a8b275e03ee@mail.gmail.com> <20060709.010316.126574153.anemo@mba.ocn.ne.jp>
Sender: linux-mips-bounce@linux-mips.org
2006/7/8, Atsushi Nemoto <anemo@mba.ocn.ne.jp>:
On Sat, 8 Jul 2006 16:39:44 +0200, "Franck Bui-Huu" <vagabon.xyz@gmail.com> 
wrote:
> Did you check that show_mem() still works ? I'm not sure about that point.

It should work, but this patch would make the output a bit better.


well I would say without this patch it should break.

'pfn' takes values between 0 and max_mapnr. This range includes memory
holes, doens't it ? In that case what does
pfn_to_page(pfn_inside_a_hole) ?

--
              Franck

<Prev in Thread] Current Thread [Next in Thread>