might_sleep(9) centos man page | unix.com

Man Page: might_sleep

Operating Environment: centos

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 3.10 June 2014 MIGHT_SLEEP(9)
Related Man Pages
schedule_hrtimeout_range(9) - centos
stack_create(9) - debian
stack_print(9) - debian
stack_sbuf_print_ddb(9) - debian
stack_sbuf_print(9) - debian
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Docker learning Phase-I
Shopt -s histappend
Controlling user input