linux-mips
[Top] [All Lists]

Re: [PATCH] cheat for support of more than 256MB memory

To: "tiansm@lemote.com" <tiansm@lemote.com>
Subject: Re: [PATCH] cheat for support of more than 256MB memory
From: "Franck Bui-Huu" <vagabon.xyz@gmail.com>
Date: Wed, 6 Jun 2007 08:38:18 +0200
Cc: linux-mips@linux-mips.org, "Fuxin Zhang" <zhangfx@lemote.com>
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YxPou/KbM6EoOTJ8+yOXyz8wRC6SCF1dyFw+ViJgRjeNOR5yPVuK7aGzWb5poJg3KNlP1/glRjLRSCJsWPzdt+eYrirOVP5ax4gaRjb4gPF3hqTsPxtU2/ehlDbFU5V92Fo4T1XL4MitJlc5/rZYkH12B722e390wsVV/q1SFYw=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=B90HNdjJCtF6a0tQtRcXOj+ZQVICBMdEmvdwMeC8b6E9B5hYcqF28nmfR1L1zwqYaYbiFgP4GPli3SqXTqNBvy4zIFzLoGI+u/pHFw1skjPqTPI9zYMwmV/x/azoLf2OkE20sK/5q96kBxtAqFafXW4F9D1G0B5Q3m1R14mjCAo=
In-reply-to: <11811049643791-git-send-email-tiansm@lemote.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <11811049622818-git-send-email-tiansm@lemote.com> <11811049643791-git-send-email-tiansm@lemote.com>
Sender: linux-mips-bounce@linux-mips.org
Hi,

On 6/6/07, tiansm@lemote.com <tiansm@lemote.com> wrote:
From: Fuxin Zhang <zhangfx@lemote.com>

Signed-off-by: Fuxin Zhang <zhangfx@lemote.com>
---
 arch/mips/kernel/setup.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index 4975da0..62ef100 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
@@ -509,6 +509,14 @@ static void __init resource_init(void)
                res->end = end;

                res->flags = IORESOURCE_MEM | IORESOURCE_BUSY;
+#if defined(CONFIG_LEMOTE_FULONG) && defined(CONFIG_64BIT)
+               /* to keep memory continous, we tell system 0x10000000 - 
0x20000000 is reserved
+                * for memory, in fact it is io region, don't occupy it
+                *
+                * SPARSEMEM?

Definetly yes ! It has been designed for such issue and it should save
you some memory.

--
              Franck

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