Shreyas Kale
Shreyas Kale

Reputation: 65

Where is struct rq in kernel scheduling code (linux)??/

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?

Upvotes: 3

Views: 2990

Answers (1)

Raber
Raber

Reputation: 2080

struct rq is defined in kernel/sched/sched.h (lines 341-470 in 3.7-rc8)

Upvotes: 6

Related Questions