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