Google luky.org euqset.org

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address space reservation functionality?


> > 
> 
> Sorry about the top posting.  This is a resend without it.
> 
> This is not quite the same thing.  This still does a check for whether 
> or not there is enough memory 

no it doesn't


> and includes this in the virtual size of 
> the process.  

because the virtual size is taken.... by the reservation

> I simply want to reserve a part of the address space so 
> I'm guaranteed I can map something else over a contiguous portion of the 
> address space.  I don't want it to check for available memory or 
> increase the virtual size of the process because I will be using this 
> region sparsely.  That is why Solaris and Windows have separate 
> interfaces for this.

well you can mmap /dev/zero.. but that's about the same as malloc.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


$B$3$N>pJs$,$"$J$?$NC5$7$F$$?$b$N$+$I$&$+A*Br$7$F$/$@$5$!#(B
yes/$B$^$5$K$3$l$@!*(B   no/$B0c$&$J$!(B   part/$B0lIt8+$D$+$C$?(B   try/$B$3$l$G;n$7$F$_$k(B

$B$"$J$?$,C5$7$F$$?>pJs$O$I$N$h$&$J$3$H$+!"$4<+M3$K5-F~2<$5$!#FC$K!V$^$5$K$3$l$@!*!W$H8@$&>l9g$O5-F~$r$*4j$$7$^$9!#(B
$BNc(B:$B!VJ#?t$N%^%7%s$+$i(BCATV$B7PM3$G(Bipmasquerade$B$rMxMQ$7$F(BWeb$B$r;2>H$7$?$>l9g$N@_Dj$K$D$$F!W(B
References: