centos man page for might_sleep

Query: might_sleep

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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
stack(9) - freebsd
stack(9) - debian
stack_print_ddb(9) - debian
stack_destroy(9) - debian
stack_sbuf_print_ddb(9) - debian
Similar Topics in the Unix Linux Community
Weird 'find' results
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
CentOS 6 ran out of space, need to reclaim it
[TIP] Processing YAML files with yq