Yes, for the record, there is an open ticket for this: #382.
There was also one student who showed some interest in this ticket for GSoC 2012, although he didn't apply officially in the end. He also did some initial research which wasn't very hard.
Growing the stacks can be potentially somewhat harder. It would be necessary to implement a mechanism that would move the as area base to a lower address, if available.
Well, implementing the lowering of the area base is probably doable. The catch is in the "if available" -- when having multiple threads (not even talking about fibrils), their stacks need to be initially spaced so you have the continuous available area to grow the stack in.
Unless, of course, you have the split stack functionality.
It would certainly be interesting to explore this idea a little further. Btw, can gold target all platforms needed by HelenOS?
AFAIK no, the number of architectures which gold supports is severely limited. But so is the split stack functionality in GCC which is only implemented for x86 [1].
So the more troublesome issue is that gold cannot digest our linker scripts. [1] http://gcc.gnu.org/wiki/SplitStacks M.D. _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
