Linux Kernel Changes Default CPU Loader

I am trying to hack the linux kernel, and I'm curious. How can I change the default Linux scheduler with another? Can I just set all processes as a real time process?

thank

+4
source share
1 answer

This post is a bit outdated, but in any case, I hope this can help ... I had a similar problem and implemented a Linux kernel hack to make RR a standard CPU scheduler. As a result, the hack basically modifies the shed_fork function, as indicated in previous comments. Here is the code I made to implement: https://aelseb.wordpress.com/2016/01/06/change-linux-cpu-default-scheduler/

+2
source

Source: https://habr.com/ru/post/1536360/


All Articles