Function report |
Source Code:fs\io-wq.c |
Create Date:2022-07-28 20:22:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Called when worker is going to sleep. If there are no workers currently* running and we have work pending, wake up a free one or have the manager* set one up.
Proto:void io_wq_worker_sleeping(struct task_struct *tsk)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | tsk |
| 595 | If Not (flags & IO_WORKER_F_UP) Then Return |
| 597 | If Not (flags & IO_WORKER_F_RUNNING) Then Return |
| 600 | flags &= ~IO_WORKER_F_RUNNING |
| 602 | spin_lock_irq( & lock) |
| 603 | io_wqe_dec_running(wqe, worker) |
| 604 | spin_unlock_irq( & lock) |
| 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 |