【问题标题】:Where is struct rq in kernel scheduling code (linux)??/内核调度代码(linux)中的struct rq在哪里??/
【发布时间】:2012-12-08 23:05:15
【问题描述】:

作为作业的一部分,我必须修改 linux 的调度策略。我有 3.4.11。我一直在编程,但经过很多努力,我一直无法找到struct rq。通过观察代码,我列出了 struct rq 可能作为成员的变量。我在 lxr.linux.no 中查找过,但没有找到任何相关结果。这个 struct rq 在哪里?

【问题讨论】:

    标签: linux struct scheduling


    【解决方案1】:

    struct rq 定义在kernel/sched/sched.h (lines 341-470 in 3.7-rc8)

    【讨论】:

    • 明显更正:路径应为 kernel/sched/sched.h
    猜你喜欢
    • 1970-01-01
    • 2020-10-09
    • 2014-02-17
    • 2020-04-04
    • 2012-12-23
    • 1970-01-01
    • 2013-07-13
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多