lkml.org 
[lkml]   [1999]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

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