Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 904
Shreyas Kale Avatar asked Apr 08 '26 22:04

Shreyas Kale


1 Answers

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

like image 74
Raber Avatar answered Apr 11 '26 14:04

Raber



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!