Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

workqueue_congested(9) [centos man page]

WORKQUEUE_CONGESTED(9)						   Driver Basics					    WORKQUEUE_CONGESTED(9)

NAME
workqueue_congested - test whether a workqueue is congested SYNOPSIS
bool workqueue_congested(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. 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. RETURNS
true if congested, false otherwise. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 WORKQUEUE_CONGESTED(9)

Check Out this Related Man Page

TAPSET::IRQ(3stap)														TAPSET::IRQ(3stap)

NAME
tapset::irq - Systemtap probes for IRQ, workqueue,etc DESCRIPTION
Probe points for probing irq handler execution, softirqs, workqueues,etc workqueue.create probes creation of a new workqueue Arguments: wq_thread task_struct of the workqueue thread. cpu cpu for which the worker thread is created. workqueue.insert probes queuing of work on a workqueue. Arguments: wq_thread task_struct of the workqueue thread. work work_struct* being executed. work_func pointer to handler func. workqueue.execute probes execution of deferred work. Arguments: wq_thread task_struct of the workqueue thread. work work_struct* being executed. work_func pointer to handler func. workqueue.destroy probes destruction of each worker thread of each cpu for a workqueue. Arguments: wq_thread task_struct of the workqueue thread. irq_handler.entry Fires prior to execution of interrupt handler. Arguments: irq irq number action struct irqaction* for this interrupt number handler interrupt handler function flags flags for this irq. flags_str A formatted string of flags. dev_name name of device dev_id cookie to identify device next_irqaction pointer to next irqaction for shared interrupts dir pointer to the /proc/irq/NN/name entry thread_fn interrupt handler function for threaded interrupts thread thread pointer for threaded interrupts thread_flags flags related to thread irq_handler.exit Fires post execution of interrupt handler. Arguments: irq irq number action struct irqaction* for this interrupt number ret return value from interrupt handler that just executed. handler interrupt handler function flags flags for this irq. flags_str A formatted string of flags. dev_name name of device dev_id cookie to identify device next_irqaction pointer to next irqaction for shared interrupts dir pointer to the /proc/irq/NN/name entry thread_fn interrupt handler function for threaded interrupts thread thread pointer for threaded interrupts thread_flags flags related to thread softirq.entry triggered just before executing handler for a pending softirq Arguments: h struct softirq* for current pending softirq. vec softirq_action vector action pointer to softirq handler just about to execute. softirq.exit triggered just after executing handler for a pending softirq Arguments: h struct softirq* for just executed softirq. vec softirq_action vector action pointer to softirq handler that just finished execution. SEE ALSO
stap(1), stapprobes(3stap) IBM
TAPSET::IRQ(3stap)
Man Page