<div dir="ltr"><div><div><div>Hello,<br></div>         I want to understand the flow of code of process scheduler of linux kernel. What I have understood is that <br>The task marks itself as sleeping,<br>puts itself on a wait queue, <br>removes itself from the red-black tree of runnable, and<br>calls schedule() to select a new process to execute.<br><br>for Waking back up <br>The task is set as runnable, <br>removed from the wait queue, <br>and added back to the red-black tree.<br><br></div>Can I get the details of which function does what? in sched/core.c and in sched/fair.c<br></div>I am concerned only with fair scheduler. There are so many functions in these two files that I am totally confused.<br></div>