Re: schedular..

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

 



Hi Shyam,

AFAIK timer interrupt is responsible for scheduling the scheduler. As soons as the time slice expires, timer interrupt comes which is then responsible for scheduling the schedule.

--
Gaurav Aggarwal

On Wed, Apr 16, 2008 at 9:52 AM, shyam Burkule <shyam.burkule@xxxxxxxxx> wrote:

I was reading about schedular.. i have following question..
 
Who schedule the schedular? I mean , let linux uses round-robin scheduling policy, with some time slice say 'x'. So process can run upto x time slice and if not finished it is preemted and schedular schedule another process to run. So my question is that,  how kernel comes to know that time slice expire and now preempt the current process? (I think kernel might be decrementing time slice,but when this happen,because in uniprocessor system , CPU is currently assigned to running process.)

Thanks
  Shyam

[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