Query: might_sleep
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MIGHT_SLEEP(9) Driver Basics MIGHT_SLEEP(9)NAMEmight_sleep - annotation for functions that can sleepSYNOPSISmight_sleep(void);ARGUMENTSNoneDESCRIPTIONthis 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.COPYRIGHTKernel Hackers Manual 2.6. July 2010 MIGHT_SLEEP(9)