All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matt Porter <porter@cox.net>
To: Craig Arsenault <penguin@wombat.ca>
Cc: Matt Porter <porter@cox.net>,
	"Martin J. Bligh" <Martin.Bligh@us.ibm.com>,
	Tom Rini <trini@kernel.crashing.org>,
	linux-kernel@vger.kernel.org, linuxppc-dev@lists.linuxppc.org
Subject: Re: consequences of lowering "MAX_LOW_MEM"?
Date: Wed, 4 Sep 2002 12:04:10 -0700	[thread overview]
Message-ID: <20020904120410.B27144@home.com> (raw)
In-Reply-To: <Pine.LNX.4.44L.0209041428420.6883-100000@tabmow.ca.nortel.com>; from penguin@wombat.ca on Wed, Sep 04, 2002 at 02:35:27PM -0400

On Wed, Sep 04, 2002 at 02:35:27PM -0400, Craig Arsenault wrote:
> 
> On Wed, 4 Sep 2002, Matt Porter wrote:
> > Correct.  The solution, in the context of the linuxppc_2_4_devel tree,
> > is to do the following:
> >
> >         Enable "Prompt for advanced kernel configuration options"
> >         Enable "High memory support"
> >         Enable "Set maximum low memory" and set to 0x40000000
> >         Enable "Set custom kernel base address" and set to 0xa0000000
> >
> > Note that highmem support will not be used in his case (he didn't
> > want to use it), because PAGE_OFFSET is at 0xa0000000 and
> > MAX_LOW_MEM is at 1GB.  With this configuration, VMALLOC_START
> > will be at 0xe0000000 + VMALLOC_OFFSET leaving ample vmalloc
> > space for most applications.  All system memory is mapped as
> > lowmem .
> >
> 
> Matt,
>   That looks exactly like what I'd need.  Thanks.
> I grabbed the "2.4.20-pre5" source of linuxppc_2_4_devel, and
> I do see those options in there.
> However, my problem is that I cannot move to a development kernel for
> this application -> i have to stick on the stable tree.  So i could
> either wait for 2.4.20 to come out, OR could i just look at where
> "CONFIG_LOWMEM_SIZE" and "CONFIG_KERNEL_START" are used in 2.4.20-pre5
> and patch them back myself to 2.4.18?

_devel is pretty stable.  You don't have to use the latest, just
clone up to the changeset including 2.4.18/19 if you like.  Or,
as you suggest, just use it as a reference to make a one-off
mod in your own tree.  I put in these options because of the
numbers of times I had to hack these things for specific embedded
applications. :)
 
> Regardless, thanks very much to everyone who replied for the info.

np

Regards,
-- 
Matt Porter
porter@cox.net
This is Linux Country. On a quiet night, you can hear Windows reboot.

      reply	other threads:[~2002-09-04 18:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-04 13:12 consequences of lowering "MAX_LOW_MEM"? Craig Arsenault
2002-09-04 14:26 ` Tom Rini
2002-09-04 15:32   ` Martin J. Bligh
2002-09-03 20:28     ` Benjamin Herrenschmidt
2002-09-04 19:02       ` Craig Arsenault
2002-09-04 20:02         ` Benjamin Herrenschmidt
2002-09-04 20:56           ` Matt Porter
2002-09-04 16:57     ` Matt Porter
2002-09-04 18:35       ` Craig Arsenault
2002-09-04 19:04         ` Matt Porter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020904120410.B27144@home.com \
    --to=porter@cox.net \
    --cc=Martin.Bligh@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=penguin@wombat.ca \
    --cc=trini@kernel.crashing.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.