Process scheduling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
         I want to understand the flow of code of process scheduler of linux kernel. What I have understood is that
The task marks itself as sleeping,
puts itself on a wait queue,
removes itself from the red-black tree of runnable, and
calls schedule() to select a new process to execute.

for Waking back up
The task is set as runnable,
removed from the wait queue,
and added back to the red-black tree.

Can I get the details of which function does what? in sched/core.c and in sched/fair.c
I am concerned only with fair scheduler. There are so many functions in these two files that I am totally confused.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux