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.