> This is not quite what I meant; you need to check that > *nothing* is mapped there before doing the MAP_FIXED mmap, > i.e. that every single page returns an error; about like so: mincore returns ENOMEM Addresses in the range [addr, addr + len] are invalid for the address space of a process or specify one or more pages which are not mapped. Paolo