lkml.org 
[lkml]   [1998]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: MM with fragmented memory
On Fri, Oct 23, 1998 at 08:15:50PM +0200, Werner Almesberger wrote:
> Then there's another problem, of course: the size of the kernel's memory
> map is proportional to end_mem-start_mem, so if I pretend to have a few
> MB worth of RAM between start_mem and end_mem, it'll quickly grow to a
> few hundreds of kilobytes.

You don't have to arrange the memory map this way. Try changing the
definition of MAP_NR to use a small lookup table or even a calculation
(if the memory layout is regular) for the upper page address bits.

-- Jamie

-
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:45    [W:0.038 / U:1.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site