我正在尝试破解Linux内核,我想知道.如何用另一个更改默认的Linux Process Scheduler?我可以将每个流程设置为实时流程吗?
I am trying to hack the Linux kernel and I am wondering. How can I change the default Linux Process scheduler with another one? And can I just set every processes as a real time process?
推荐答案这篇文章有些过时了,但是无论如何,我希望这对您有所帮助... 我遇到了类似的问题,并且对Linux内核实施了破解,以使RR成为默认的CPU调度程序.最终,hack基本上改变了shed_fork函数,如前面的评论中指出的那样.这是我为实现该代码而编写的代码: https: //aelseb.wordpress/2016/01/06/change-linux-cpu-default-scheduler/
This post is a little bit dated, but anyway I hope this can help... I had similar problem and I implemented a hack to Linux Kernel to make RR the default CPU scheduler. In the end the hack basically changes the shed_fork function, as pointed out in previous comments. Here is the code I made to implement that: aelseb.wordpress/2016/01/06/change-linux-cpu-default-scheduler/
更多推荐
Linux内核更改默认的CPU调度程序
发布评论