>> I can think of 2 things you could do if you need fixed addresses: >> - write a page-fault handler in a driver and do the mmap through that >> driver. With that handler you can control access to the mmap'ed >> memory. >> > I can't (and also don't want to) modify the kernel :) Not even with a harmless driver? :) > Why do you say I would get to use sbrk? Actually, are brk and sbrk used for > anything these days? > Not anymore. Forgot about that. >> >> Why do you need fixed addresses though? > > I'm implementing a distributed memory with a shared address space. Each node > has part of the address space to play with, so it has to allocate stacks and > heaps in that region. But even if I didn't need a fixed mapping, how would > that help me? MAP_GROWSDOWN doesn't seem to make the mapping auto-expendable > anyway... > Hmm, out of ideas. I'd implement it myself. Thanks, Dragos -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ