linux-mips
[Top] [All Lists]

Re: Boot time memory allocation

To: "Mark.Zhan" <rongkai.zhan@windriver.com>
Subject: Re: Boot time memory allocation
From: Ralf Baechle <ralf@linux-mips.org>
Date: Wed, 10 May 2006 16:35:26 +0100
Cc: Alex Gonzalez <langabe@gmail.com>, linux-mips@linux-mips.org
In-reply-to: <44614E0F.2000207@windriver.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <c58a7a270605090735t8e4f21ax6ca87f97b9143e3b@mail.gmail.com> <20060509163411.GA8528@linux-mips.org> <44614E0F.2000207@windriver.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.1i
On Wed, May 10, 2006 at 10:21:03AM +0800, Mark.Zhan wrote:

> >At kernel initialization time just don't tell the kernel about the
> >existence of your memory region.  For many systems that just means you
> >shrink the memory region passed to the add_memory_region() call to
> >something that suits your platform.

> Maybe it is a more flexible way to specify the memory regions via 
> command line. You know, this will produce User-defined memory regions to 
> kernel.

Maybe for a specific application or platform.  For a sourcebase like
linux-mips.org's with a very large number of users on sometimes very
complex platforms I'd never ever think of exposing such details.

  Ralf

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