Re: schedular..

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

 



hi

On Wed, Apr 16, 2008 at 11:22 AM, shyam Burkule <shyam.burkule@xxxxxxxxx> wrote:
>
> I was reading about schedular.. i have following question..
>
> Who schedule the schedular?

scheduler is just a code path without "task entity". it runs on behalf
on any running code path...

basically, it is triggered by timer handler, be it the regular timer
tick...or in current tickless situation, the one shot timer that is
pre-programmed. In essence, when process is executed, its time slice
is also calculated and timer is programmed to "shoot" at that time.
The benefit is, "excessive" time slice can be reduced.... but AFAIK,
there is a cost due to timer reprogramming.

And it can go worse if many apps submit more timers... like you can
watch with powertop

regards,

Mulyadi.

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


[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