[lkml]   [2001]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: increasing the TASK_SIZE
On Tue, 10 Jul 2001, Gareth Hughes wrote:

> "Ernest N. Mamikonyan" wrote:
> >
> > I was wondering how I can increase the process address space, TASK_SIZE
> > (PAGE_OFFSET), in the current kernel. It looks like the 3 GB value is
> > hardcoded in a couple of places and is thus not trivial to alter. Is
> > there any good reason to limit this value at all, why not just have it
> > be the same as the max addressable space (64 GB)? We have an ix86 SMP
> > box with 4 GB of RAM and want to be able to allocate all of it to a
> > single program (physics simulation). I would greatly appreciate any help
> > on this.
> Sounds like you just need to enable highmem. Check the help for "High
> Memory Support" in "Processor type and features".
> -- Gareth

Also, additional memory on an ix86, as specified, can only be accessed
via page registers (like the old DOS himem.sys). This is because
the Intel machines have 32 bits of address-space. That's around
4 GB, not 64 GB. So, if you intend to do conventional, user-space
programming,i (like using malloc) you will not be able to get anything
like 4 GB.

Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

I was going to compile a list of innovations that could be
attributed to Microsoft. Once I realized that Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't any.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:56    [W:0.069 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site