Re: Question on schedule() function

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

 



On 9/17/05, Mandeep Singh Sandhu <mandeep_sandhu@xxxxxxxxxxx> wrote:
> 
> >
> 
>> Yes, schedule() will certainly sends your driver to sleep and will
> >schedule it to run again; thus give certainly time to other
> >applications to work ...
> 
> 
> When you say "schedule() will certainly sends your driver to sleep"
> I think you mean the "process that called the driver will be put to
> sleep"...right??
> 
> the driver itself doesn't have any process context.
> 

Yes, You are right, writing  " driver to sleep " I mean what ever
driver is doing in the current context (that will be the process
context) schedule will put process in which driver is running (as
driver functions are call-backed from the kernel in most cases) to
sleep !!!!

-- 
Fawad Lateef

--
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