might_sleep(9) suse man page | unix.com

Man Page: might_sleep

Operating Environment: suse

Section: 9

MIGHT_SLEEP(9)							   Driver Basics						    MIGHT_SLEEP(9)

NAME
might_sleep - annotation for functions that can sleep
SYNOPSIS
might_sleep(void);
ARGUMENTS
None
DESCRIPTION
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
Kernel Hackers Manual 2.6. July 2010 MIGHT_SLEEP(9)
Related Man Pages
stack_print_ddb(9) - debian
stack_put(9) - debian
stack_zero(9) - debian
stack_copy(9) - freebsd
stack_create(9) - freebsd
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Change directory error
Getting command output to putty window title.
SOCKS proxy & PAM configuration exposure
Docker learning Phase-I