lkml.org 
[lkml]   [1997]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: > 1GB physical on x86: Summary so far
Hello!

In article <5pgv9o$rq5$1@nova.noris.de> you write:
>[...]

>The memory map is rather simple: Below PAGE_OFFSET => virtual address space
>of user process. Above PAGE_OFFSET => real memory. The kernel also needs
>some space above its real memory space for vmalloc(), I/O remapping, and
>possibly some others I've conveniently forgotten. ;-)

Does that mean, if you have a 1GB real mem machine, there's 1GB of virtual
memory already used for a permanent mapping of the real 1GB of memory?

Till now I thought, Linux uses a similar memory map as most BSD's:

0 PGSIZE VM_MAXUSER_ADDRESS ... VM_MIN_KERNEL_ADDRESS ...
invalid user program user stack|user pages kernel space

And if the kernel needs physical memory access, it sets it up in some
kernel space as the need arises.

Do you really need all real memory mapped 1:1 in kernel space?

>[...]

Regards, Felix.

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