dear Lalit...

On Tue, Dec 7, 2010 at 11:53, lalit mohan tripathi
<lalit.tripa...@gmail.com> wrote:
> I have suspicion on second line (It also.... timeslices.), is that
> statement true?
>
> 3567 * This function gets called by the timer code, with HZ frequency.
> 3568 * We call it with interrupts disabled.
> 3569 *
> 3570 * It also gets called by the fork code, when changing the parent's
> 3571 * timeslices.
> 3572 */
> 3573void scheduler_tick(void)
> 3574{

It's hard to find the trace, but I have a guess that when parent's
timeslice is changed (not sure why it should have impact to its
children), timer interrupt is reenabled...thus indirectly trigerring
scheduler_tick. While scheduler_tick itself is called in every timer
tick.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to