WORKQUEUE_CONGESTED

Section: Driver Basics (9)
Updated: February 2011
Index Return to Main Contents
 

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