lkml.org 
[lkml]   [2000]   [Jan]   [5]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 5 Jan 2000 23:56:41 +0100
FromDominik Kubla <>
SubjectRe: Can a process use up more than 910MB?
On Wed, Jan 05, 2000 at 11:17:58PM +0100, Peter Tufvesson wrote:
...
> 
> It turned out that a 2.1.12 kernel compiled for 1GB of physical memory
> only allowed the process to allocate 910MB! Can anyone comment on this? I
> believed it would be possible to use more... I also run two of these
> processes in parallel, and then both got exactly the same amount, 910MB... 
...

That is no bug, it's intended to be so! Just read the relevant header file
<asm/page.h>:

...
 * A __PAGE_OFFSET of 0xC0000000 means that the kernel has
 * a virtual address space of one gigabyte, which limits the
 * amount of physical memory you can use to about 950MB. If
 * you want to use more physical memory, change this define.
 *
...
Yours,
  Dominik Kubla

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [from the cache]
©2003-2008