kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Process scheduling
@ 2016-02-13  6:12 Nitin Varyani
  2016-02-13  8:49 ` Henrik Austad
  0 siblings, 1 reply; 10+ messages in thread
From: Nitin Varyani @ 2016-02-13  6:12 UTC (permalink / raw)
  To: kernelnewbies

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160213/6f9cccab/attachment.html 

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Process Scheduling
@ 2016-02-08  8:50 Nitin Varyani
  0 siblings, 0 replies; 10+ messages in thread
From: Nitin Varyani @ 2016-02-08  8:50 UTC (permalink / raw)
  To: kernelnewbies

Hi,
      I am new to kernel source. I want to plugin a new process scheduling
algorithm. Can someone elaborate the steps to do it?
Nitin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160208/7d7fdd93/attachment-0001.html 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-02-17 21:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-13  6:12 Process scheduling Nitin Varyani
2016-02-13  8:49 ` Henrik Austad
2016-02-13  9:42   ` Nitin Varyani
     [not found]     ` <CAKfJ7KLrDSLuw-8CQg4jvKdnPRvQqAXHE4Wf+sSZYqJYdzn3dg@mail.gmail.com>
2016-02-15 12:37       ` Nitin Varyani
2016-02-17  6:10         ` Mulyadi Santosa
2016-02-17  7:18           ` Nitin Varyani
2016-02-17 16:23             ` Greg KH
2016-02-17 21:11               ` Boyan Vladinov
2016-02-17 21:13               ` Boyan Vladinov
  -- strict thread matches above, loose matches on Subject: below --
2016-02-08  8:50 Process Scheduling Nitin Varyani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).