I am running my code under debugging kernel (spin lock debugging). I am
getting following message.
Oct 7 18:36:46 localhost kernel: Debug: sleeping function called from
invalid context at mm/slab.c:2082
My question what is considered sleeping in kernel, beside
- memory allocation not using GFP_ATOMIC flag
- explicitly calling schedule (or its derivatives)
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/