Where is struct rq in kernel scheduling code (linux)??/
linux, scheduling, struct
Solution
`struct rq` is defined in `kernel/sched/sched.h` (lines 341-470 in 3.7-rc8)
Problem
As a part of an assignment, I have to modify the scheduling policy of linux. I have 3.4.11. I have been programming it, but after a lot of efforts, I haven't been able to find struct rq. By observing the code, I have made a list of variables that struct rq might have as members. I have looked it up in lxr.linux.no but I haven't found any relevant results. Where is this struct rq?