kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Use of SCHED_SOFTIRQ
@ 2015-01-28 16:55 Sreejith M M
  2015-01-28 17:53 ` Vignesh Radhakrishnan
  0 siblings, 1 reply; 4+ messages in thread
From: Sreejith M M @ 2015-01-28 16:55 UTC (permalink / raw)
  To: kernelnewbies

Hi,

I was reading LKD by Robert Love. I got the following idea from the book.


Correct me if I am worng
I was checking through source code and I found that on every timer
interrupt, through sched/fair.c we are raising the SCHED_SOFTIRQ().
I was checking the relation between SCHED_SOFTIRQ and actual
__schedule() function.

My assumption:
schedule() function is the function which selects the processes which
are ready to run  in run queue. schedule() function is called in every
timer tick.

What I was thinking is that schedule() will be called as part of
handling SCHED_SOFTIRQ() . But in source code, SCHED_SOFTIRQ is
handled through run_rebalance_domain() function (sched/fair.c) . I am
unable to trace __schedule()  from this function.

Am I missing anything or my assumptions are wrong?
-- 
Regards,
Sreejith

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

end of thread, other threads:[~2015-01-29  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28 16:55 Use of SCHED_SOFTIRQ Sreejith M M
2015-01-28 17:53 ` Vignesh Radhakrishnan
2015-01-28 19:05   ` Sreejith M M
2015-01-29  0:22   ` nick

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).