WORKQUEUE_CONGESTED(9) Driver Basics WORKQUEUE_CONGESTED(9)NAMEworkqueue_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.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 WORKQUEUE_CONGESTED(9)