Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:50 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:workqueue_congested - test whether a workqueue is congested*@cpu: CPU in question*@wq: target workqueue* Test whether @wq's cpu workqueue for @cpu is congested. There is* no synchronization around this function and the test result is
Proto:bool workqueue_congested(int cpu, struct workqueue_struct *wq)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
int | cpu | |
struct workqueue_struct * | wq |
4518 | If cpu == WORK_CPU_UNBOUND Then cpu = smp_processor_id() |
4521 | If Not (hot fields used during command issue, aligned to cacheline & WQ_UNBOUND) Then pwq = per_cpu_ptr(I: per-cpu pwqs , cpu) |
4527 | preempt_enable() |
4530 | Return ret |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |