On Fri, 2004-08-27 at 17:10, anton wilson wrote: > in OUTPUT1. When pthread_create is used, several unexplained memory [..] > one is 4k (non-writable) and the other is 2044K (both mapped to the zero I don't recall what all of the allocations are for, but the 2MB is the stack for your new thread. See pthread_attr_setstackaddr() and pthread_attr_setstacksize() for controlling it a bit. -Pat -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/