Hi!
I have started moving our multithreaded applications to 64-bit Linux (Fedora 11, kernel 2.6.30).
I am a little curious why every thread appears to allocate a 64 megabyte anon region. In total these regions occupy multiple GBs of address space, which if course isn't a problem in itself, but I'd like to know why it does this
Below is a partial dump of pmap -x output for the given process.
This represents the stack spaces for 6 threads together with the 64M regions for these threads.
Thanks for any input!
00007fc16405b000 65172 - - - ----- [ anon ]
00007fc168000000 944 - - - rw--- [ anon ]
00007fc1680ec000 64592 - - - ----- [ anon ]
00007fc16c000000 420 - - - rw--- [ anon ]
00007fc16c069000 65116 - - - ----- [ anon ]
00007fc170000000 496 - - - rw--- [ anon ]
00007fc17007c000 65040 - - - ----- [ anon ]
00007fc174000000 208 - - - rw--- [ anon ]
00007fc174034000 65328 - - - ----- [ anon ]
00007fc178000000 436 - - - rw--- [ anon ]
00007fc17806d000 65100 - - - ----- [ anon ]
00007fc17c000000 476 - - - rw--- [ anon ]