I have a question:
I am using Ubuntu 10.04 with kernel version 220.127.116.11.
On this system I try to find out how the cgroup scheduling based on the cpu subsystem works.
I am using the default period and runtime values for both CFS and RT scheduling.
I have searched the whole kernel/scheduler for the place where cgroups are scheduled based on these values but I cannot find it.
I know that the values for CFS=shares and for RT=rt_runtime & rt_period are all stored in the task_group structure.
I want to know where for example rt_period is used to schedule cgroups on.
I have searched the whole interrupt system tick handler, but I can only find how the current task is scheduled by the CFS scheduler or RT scheduler.
Not how the cgroups are scheduled based on their cpu subsystem parameters.
Can you maybe tell me more about how this works and where to find this in which functions?
Thanks in advance..