I have complete linux source code for version 3.13. I was trying to find out source code for CFS scheduler which according to popular books should reside inside /kernel/sched.c for base scheduler code and /kernel/sched_fair.c specifically for CFS code. I just made a code wide global search for those two files inside my 3.13 linux code which turned up no results. I also individually searched /linux-3.13/kernel folder and /linux-3.13/kernel/sched folders. Still no luck.
我有3.13版的完整linux源代码。我试图找出CFS调度程序的源代码,根据流行书籍,它应该驻留在/kernel/sched.c中用于基本调度程序代码,而/kernel/sched_fair.c专门用于CFS代码。我刚刚在我的3.13 linux代码中对这两个文件进行了代码扩展全局搜索,结果没有结果。我还单独搜索了/linux-3.13/kernel文件夹和/linux-3.13/kernel/sched文件夹。仍然没有运气。
I wanted someone to shed light on where CFS is located inside the new linux kernel code domain(linux-3.13.*). Please excuse me if I am missing something here. I am a beginner to linux kernel.
我希望有人能够了解CFS在新Linux内核代码域(linux-3.13。*)中的位置。如果我在这里遗漏了什么,请原谅。我是linux内核的初学者。
3 个解决方案
#1
11
Source code changes quickly and books are updated slowly. Its in kernel/sched/fair.c.
源代码快速变化,书籍更新缓慢。它在kernel / sched / fair.c中。
#2
2
All the scheduler code is now in the kernel/sched/
directory.
所有调度程序代码现在都在kernel / sched /目录中。
#3
1
CFS scheduler code is in kernel/sched_fair.c (Kernel 3.0.4)
CFS调度程序代码在kernel / sched_fair.c中(内核3.0.4)
#1
11
Source code changes quickly and books are updated slowly. Its in kernel/sched/fair.c.
源代码快速变化,书籍更新缓慢。它在kernel / sched / fair.c中。
#2
2
All the scheduler code is now in the kernel/sched/
directory.
所有调度程序代码现在都在kernel / sched /目录中。
#3
1
CFS scheduler code is in kernel/sched_fair.c (Kernel 3.0.4)
CFS调度程序代码在kernel / sched_fair.c中(内核3.0.4)