Query: workqueue_congested
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WORKQUEUE_CONGESTED(9) Driver Basics WORKQUEUE_CONGESTED(9)NAMEworkqueue_congested - test whether a workqueue is congestedSYNOPSISbool workqueue_congested(int cpu, struct workqueue_struct * wq);ARGUMENTScpu CPU in question wq target workqueueDESCRIPTIONTest 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. If cpu is WORK_CPU_UNBOUND, the test is performed on the local CPU. Note that both per-cpu and unbound workqueues may be associated with multiple pool_workqueues which have separate congested states. A workqueue being congested on one CPU doesn't mean the workqueue is also contested on other CPUs / NUMA nodes.RETURNStrue if congested, false otherwise.COPYRIGHTKernel Hackers Manual 3.10 June 2014 WORKQUEUE_CONGESTED(9)