On Thu, 2006-02-23 at 01:30 -0800, Rajaram Suryanarayanan wrote: > Hi, > > The scheduler subsystem swaps between the active priority array and expired priority array after all the tasks of that processor have exhausted their time slices. My question is what happens to the sleeping processes ? Will scheduler wait till all sleeping processes wake up and exhaust their timeslices and then swap the active and expired arrays..? > The sleeping proccesses are sleeping on some kind of a wait queue, and they don't exist on any queues of the scheduler, so for scheduler they don't exist until someone wake them up (and place them to the scheduler's proper queue) Regards, Stavros Passas > Regards, > Rajaram. > > > > --------------------------------- > Yahoo! Mail > Use Photomail to share photos without annoying attachments. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/