Re: sleep

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

 



Sleeping while holding the spin lock is forbidden.
Sleeping in Tasklets is forbidden.

Best regards,
Bogdan

On 26.10.2017 02:12, Tobin C. Harding wrote:
> Is there any 'non-process' context apart from interrupt context? I had a
> re-read of sleep sections in ldd3 and in Robert Love's book but am still
> not totally clear on this.
> 
> The reason for the question is understanding when we cannot sleep.
> 
> thanks in advance,
> Tobin.
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> 

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[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