Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:27:20 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Scheduled on system_wq by put_pwq() when an unbound pwq hits zero refcnt* and needs to be destroyed.
Proto:static void pwq_unbound_release_workfn(struct work_struct *work)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct work_struct * | work |
| 3653 | wq = I: the owning workqueue |
| 3654 | pool = I: the associated pool |
| 3657 | If WARN_ON_ONCE(!(hot fields used during command issue, aligned to cacheline & WQ_UNBOUND)) Then Return |
| 3660 | mutex_lock( & protects this wq ) |
| 3663 | mutex_unlock( & protects this wq ) |
| 3665 | mutex_lock( & wq_pool_mutex) |
| 3667 | mutex_unlock( & wq_pool_mutex) |
| 3675 | If is_last Then |
| 3676 | wq_unregister_lockdep(wq) |
| 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 |