From: Michael V. <mv...@qu...> - 2001-12-03 23:31:29
|
> Like 8 months ago, I promised to look into NtMapViewOfSection. Well, > Friday I finally did, and like the book says, it can mmap() on page-boundries, > and not just 64K boundries. I've been reading the LINE mmap.c code, and I'm > starting to understand what it's doing. > > Hopefully later next week, when I get back from San Diego, I'll have a patch > that ditches the cygwin mmap() and lets LINE manage it internally. Cool. Send it along when you have it working! > I'll also probably have to redo a lot of the memory management stuff - it looks > like memory is managed with a big array, with one byte per 64K chunk. Maybe > it's time to steal the page table code out of Linux... Yeah, that would probably be a good idea. At the time I did the 64K chunk array setup because it was quick (to implement). But it definitely could be improved upon :) Mike |