On Thu, Apr 12, 2012 at 08:10:26PM -0700, Sushanth Rai wrote: > > > > Then it should be fixed in r190885. > > > > Thanks. That works like a charm. > > mlockall() mostly works now. There is still a, issue in wiring the stacks of > multithreaded program when the program uses default stack allocation scheme. > Thread library allocates stack for each thread by calling mmap() and sending > address and size to be mapped. The kernel adjusts the start address to > sgrowsz in vm_map_stack() and maps at the adjusted address. But the > subsequent wiring is done using the original address, which fails. > Can you, please provide stand-alone example which demostrates the issue ? I suspect this should have not changed in HEAD.
pgpKm8aixg3tT.pgp
Description: PGP signature