GhOSt: Fast and Flexible User-Space Delegation of Linux Scheduling
dl.acm.org
dl.acm.org
(Java's upcoming structured concurrency.)
As for the risk of selling something with proprietary scheduler bits, the upshot is that this is well handled, because most of the interfaces are GPL-only. IANAL, but this [1] is probably an interesting read.
[0] btw, more often than not the reason that these things don't go upstream is because upstream says "no." Even if such changes are worth a lot of money to the business, it's not enough that the competitive advantage outweighs the maintenance cost of a forked scheduler
[1] https://lore.kernel.org/netdev/20210916032104.35822-1-alexei...