[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1191429433.4939.49.camel@localhost>
Date: Wed, 03 Oct 2007 09:37:13 -0700
From: Dave Hansen <haveblue@...ibm.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Cc: LKML <linux-kernel@...r.kernel.org>, andi@...stfloor.org,
"linux-mm@...ck.org" <linux-mm@...ck.org>,
"tony.luck@...el.com" <tony.luck@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>, pbadari@...ibm.com,
"linux-ia64@...r.kernel.org" <linux-ia64@...r.kernel.org>
Subject: Re: [Question] How to represent SYSTEM_RAM in kerenel/resouce.c
On Wed, 2007-10-03 at 10:31 +0900, KAMEZAWA Hiroyuki wrote:
>
> i386 and x86_64 registers System RAM as IORESOUCE_MEM |
> IORESOUCE_BUSY.
> ia64 registers System RAM as IORESOURCE_MEM.
>
> Which is better ?
I think we should take system ram out of the iomem file, at least.
'struct resource' is a good, cross-platform structure to use for keeping
track of which memory we have where. So, we can share that structure to
keep track of iomem, or memory hotplug state. But, I'm not sure we
should be intermingling system RAM and iomem like we are now in the same
instance of the structure.
-- 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