lkml.org 
[lkml]   [1998]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: MM with fragmented memory
Date
Jamie Lokier wrote:
> 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.

Good point. Maybe I've chickened out a bit too quickly.

I've now written everything with a virtually linear kernel address space
and so far it looks good (kernel makes it to the point where it tries to
mount the root FS). I was pleased by how few changes were actually
necessary.

Maybe I'll retry a 1:1 mapping approach again once we have the system in
a more complete state and run some benchmarks to compare them. If the
difference is significant, it may be worth supporting a 1:1 mapped model
in spite of the inconvenient setup procedure.

Thanks,
- Werner

--
_________________________________________________________________________
/ Werner Almesberger, DI-ICA,EPFL,CH werner.almesberger@lrc.di.epfl.ch /
/_IN_R_131__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

-
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:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site