Messages in this thread | | | Subject | Re: address space reservation functionality? | From | Arjan van de Ven <> | Date | Tue, 11 Jan 2005 20:19:46 +0100 |
| |
> > > > 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |