[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1295894857.11047.556.camel@nimitz>
Date: Mon, 24 Jan 2011 10:47:37 -0800
From: Dave Hansen <dave@...ux.vnet.ibm.com>
To: Russell King - ARM Linux <linux@....linux.org.uk>
Cc: KyongHo Cho <pullip.cho@...sung.com>,
Kukjin Kim <kgene.kim@...sung.com>,
KeyYoung Park <keyyoung.park@...sung.com>,
linux-kernel@...r.kernel.org, Ilho Lee <ilho215.lee@...sung.com>,
linux-mm@...ck.org, linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ARM: mm: Regarding section when dealing with meminfo
On Mon, 2011-01-24 at 17:58 +0000, Russell King - ARM Linux wrote:
> Wrong. For flatmem, we have a pfn_valid() which is backed by doing a
> one, two or maybe rarely three compare search of the memblocks. Short
> of having a bitmap of every page in the 4GB memory space, you can't
> get more efficient than that.
Sweet. So, we can just take the original patch that started this
conversation, add the requisite pfn_valid()s and pfn_to_page()s, and
skip the sparsemem #ifdefs. Right?
-- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists