Linux CFS Scheduler代码在哪里? [英] Where is Linux CFS Scheduler Code?

查看:129
本文介绍了Linux CFS Scheduler代码在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有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 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.

我希望有人阐明CFS在新的Linux内核代码域(linux-3.13.*)中的位置.如果我在这里想念东西,请原谅.我是linux内核的初学者.

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.

推荐答案

源代码变化很快,书籍更新缓慢.它在内核/sched/fair.c 中.

Source code changes quickly and books are updated slowly. Its in kernel/sched/fair.c.

这篇关于Linux CFS Scheduler代码在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆