Kernel support for green threads (or better, M:N) was a big topic 20 years ago. Look for "scheduler activation" for example.
It kind of petered off as kernel only threads were fast enough with significantly less complexity. In might be worth revisiting again.