might_sleep9
Annotation for functions that can sleep
Usage
might_sleep(void);
Arguments
None
Overview
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.
Releases
3 releases since Debian 6.0 (Squeeze); the text changed 2 times.