New comment by ericonr on void-packages repository https://github.com/void-linux/void-packages/issues/28728#issuecomment-824153683 Comment: I believe that patch isn't completely right, it's using a `static struct sched_params def` instead of the `params` argument, which makes `rtkit` basically a no-op. Otherwise yes, the approach makes sense (though I would have `#define sched_setscheduler my_sched_setscheduler` instead ;)