Scroll to navigation

WORKQUEUE_CONGESTED(9) Driver Basics WORKQUEUE_CONGESTED(9)

NAME

workqueue_congested - test whether a workqueue is congested

SYNOPSIS

bool workqueue_congested(unsigned int cpu, struct workqueue_struct * wq);

ARGUMENTS

cpu
CPU in question
wq
target workqueue

DESCRIPTION

Test whether wq's cpu workqueue for cpu is congested. There is no synchronization around this function and the test result is unreliable and only useful as advisory hints or for debugging.

RETURNS

 
true if congested, false otherwise.

COPYRIGHT

March 2016 Kernel Hackers Manual 3.2.