Hi Andrei, I don't think brk or sbrk will help here since they refer to the global process data segment and you want per fibre/thread/etc stack. 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. - Allocate some space for each stack (as much as you would need at the beginning). Write a SIGSEGV signal handler that does re-allocation. For other addresses you can end execution of program. This is quite hackish though (and you get to use sbrk indirectly :P). Why do you need fixed addresses though? 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