|
From: Julian S. <js...@ac...> - 2005-08-01 22:28:09
|
> Only the main stack is ever automatically extended. I believe that > is true for both linuxthreads and NPTL threads. > > You should be looking at the SF_STACK flag I think. Alas .. only the main stack is marked SF_STACK, afaics. In order that V could know that the thread stacks are really stacks, it would have to be able to differentiate the mmap that creates them from arbitrary other anonymous mmaps that happen, and I don't think those stack-creating mmaps have any special flags that would distinguish them. So I don't think this _could_ work. It does however beg the question of what SF_STACK is really for. J |