Hi Andrei... On Wed, Apr 21, 2010 at 05:52, Andrei Matei <andreimatei1@xxxxxxxxx> wrote: > Hi Venkatram, > > I'm not sure what brk() has to do with my problem, but maybe I don't > understand exactly what it does... > What I want is a mechanism for implementing user-level stacks (for a sort of > fibers that I plan to implement) that grow automatically (so the next page > is mmap-ed into the process when needed). Can brk() help me? Please don't top post. I second Venkatram's. I think you should use either brk() or sbrk(). Please read "man brk" or "man sbrk" first. -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ