mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Martin J. Bligh" <mbligh@aracnet.com>
To: Hartmut Manz <manz@intes.de>, linux-kernel@vger.kernel.org
Subject: Re: allocate more than 2 GB on IA32
Date: Tue, 11 Feb 2003 08:11:38 -0800	[thread overview]
Message-ID: <86310000.1044979897@[10.10.2.4]> (raw)
In-Reply-To: <200302111015.54223.manz@intes.de>

> i would like to allocate more than 2 GB of memory on an IA32 architecture.
> 
> The machine is a dual XEON_DP with 3 GB of Ram and 4 GB of swap space.
> 
> I have tried with the default SUSE 8.1 kernel as well as with a
> 2.4.20-pre4aa1 Kernel compile by my own using these Options:
> 
> CONFIG_HIGHMEM4G=y
> CONFIG_HIGHMEM=y
> CONFIG_1GB=y
> 
> but I am only able to allocate 2 GB with a single malloc call.
> I tought it should be possible to allocate up to 2.9 GB of memory to a
> process, with this kernel settings.

Well, assuming you had no user-space code or data, or a stack, or any
shared libraries to fit into that space as well ;-)

Try shifting TASK_UNMAPPED_BASE down from 1GB to 0.5GB - that should give
you some more breathing room, though you'll never get to 2.9GB.

M.


  parent reply	other threads:[~2003-02-11 16:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-11  9:15 Hartmut Manz
2003-02-11  9:31 ` Gianni Tedesco
2003-02-11  9:33 ` ÷ÉÔÁÌÉÊ
2003-02-11 16:11 ` Martin J. Bligh [this message]
2003-02-20 17:40   ` Hartmut Manz
2003-02-11 17:21 Manfred Spraul

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='86310000.1044979897@[10.10.2.4]' \
    --to=mbligh@aracnet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manz@intes.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®