Re: schedule function

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

 



don (don_jean_demarco@yahoo.com) wrote:
> Hi all,
> 
> Can anyone tell me which kernel thread/function call
> schedule() all the time to schedule the process/task
> out if the task voluntarily doesnt leave the
> processor.

make a good cscope or otherwise tool to know this.
For my part, I don't know.

> Suppose my driver goes to deep sleep without calling
> schedule() which part of kernel will take care to
> schedule the other pending tasks.

interruptible_sleep_on();
If I don't make a mistake. Correct me if it is, so I will learn more ;-)

-- 
Cordialement/Regards
+-------------------------------------------------------+
| Christophe Lucas -- IOMEDA SA (clucas@iomeda.fr)      |
| Developpeur/Administrateur GNU/Linux                  |
+-------------------------------------------------------+
| http://titux.tuxfamily.org -- Registered User #271267 |
+-------------------------------------------------------+
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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