table of contents
other versions
- wheezy 3.2.78-1
MIGHT_SLEEP(9) | Driver Basics | MIGHT_SLEEP(9) |
NAME¶
might_sleep - annotation for functions that can sleepSYNOPSIS¶
might_sleep(void);
ARGUMENTS¶
NoneDESCRIPTION¶
this macro will print a stack trace if it is executed in an atomic context (spinlock, irq-handler, ...). This is a useful debugging help to be able to catch problems early and not be bitten later when the calling function happens to sleep when it is not supposed to.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |