From: bogdan.lazic@gmail.com (Bogdan Lazic) Date: Sat, 28 Oct 2017 14:41:34 +0200 Subject: sleep In-Reply-To: <20171026001203.GD12341@eros> References: <20171026001203.GD12341@eros> Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 at kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >