linux-mips
[Top] [All Lists]

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

To: vagabon.xyz@gmail.com
Subject: Re: [PATCH] do not count pages in holes with sparsemem
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Sun, 09 Jul 2006 21:56:51 +0900 (JST)
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <cda58cb80607080915h59f2fcc0yff605fb4afdf1b8b@mail.gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <cda58cb80607080739i772d439dqc4e06a8b275e03ee@mail.gmail.com> <20060709.010316.126574153.anemo@mba.ocn.ne.jp> <cda58cb80607080915h59f2fcc0yff605fb4afdf1b8b@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
On Sat, 8 Jul 2006 18:15:52 +0200, "Franck Bui-Huu" <vagabon.xyz@gmail.com> 
wrote:
> 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) ?

Oh, you are right.  The show_mem() must be fixed indeed.

---
Atsushi Nemoto

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