User space threads stacks memory management
I'm developing a high performance server, with an implementation of user space threads (micro threads) and not asynchronouse native posix threads.
Currently I manage the stacks allocation and release, in a kernel module that I wrote, but I'm affraid that it is not persistant and robust enough.
I did an extensive search, but I couldn't find an upstream driver that does something similar. The main idea is that the driver holds a pool of stacks and assigns them to the user space.
Is anyone familiar with something similar that could be useful?
Thank you and best regards,