PDA

View Full Version : kernel question



daniel_I_l
12th September 2008, 01:00 AM
Here:
http://lxr.linux.no/linux+v2.6.26.5/kernel/sched.c
I found two definitions for the runqueue: struct rt_rq and struct rt. First of all, what's the difference? And more importantly, in rt_rq
struct rt_prio_array active;
is defined but "expired" isn't. It also isn't defined in struct rt. Isn't storing two rq's (active and expired) the whole point of the new scheduler? So where's the "expired" pointer declared?
Thanks.