Messages in this thread | | | Date | Thu, 11 Mar 1999 16:11:15 +1100 | From | Richard Gooch <> | Subject | Re: Linux/IA-64 byte order |
| |
Zygo Blaxell writes: > In article <199903090533.QAA24644@vindaloo.atnf.CSIRO.AU>, > Richard Gooch <rgooch@atnf.csiro.au> wrote: > >Oliver Xymoron writes: > >> On Tue, 9 Mar 1999, Richard Gooch wrote: > >Not that I know of. BTW: I don't really see how your scheme would > >work, since I don't think you could "make an empty map" anyway. All > >you could do is find a vacant region in VM, and mmap() a single page > >at a time as you needed it. That's horrible. > > Make the map, find out where mmap() put it, then munmap() it. > Bingo, one empty map (i.e. one that will SEGV when you access it) > that is exactly the right size.
It's not the empty map that worries me (I can randomly choose some part of VM, although it's not safe). What worries me is having to mmap() a page at a time. That's going to require a VMA for every page. That can be thousand or millions of VMAs. Surely that's not a good idea?
Regards,
Richard....
- 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/
| |