Function report |
Source Code:kernel\workqueue.c |
Create Date:2022-07-28 09:26:49 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:heck_flush_dependency - check for flush dependency sanity*@target_wq: workqueue being flushed*@target_work: work item being flushed (NULL for workqueue flushes)* %current is trying to flush the whole @target_wq or @target_work on it
Proto:static void check_flush_dependency(struct workqueue_struct *target_wq, struct work_struct *target_work)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct workqueue_struct * | target_wq | |
| struct work_struct * | target_work |
| 2591 | work_func_t target_func = target_work ? func : NULL |
| 2594 | If hot fields used during command issue, aligned to cacheline & WQ_MEM_RECLAIM Then Return |
| 2599 | WARN_ONCE(flags & Allocating memory , "workqueue: PF_MEMALLOC task %d(%s) is flushing !WQ_MEM_RECLAIM %s:%ps", pid, comm, I: workqueue name , target_func) |
| 2602 | WARN_ONCE(worker && ((flags & (WQ_MEM_RECLAIM | __WQ_LEGACY)) == WQ_MEM_RECLAIM), "workqueue: WQ_MEM_RECLAIM %s:%ps is flushing !WQ_MEM_RECLAIM %s:%ps", name, L: current_work's fn , I: workqueue name , target_func) |
| Name | Describe |
|---|---|
| flush_workqueue | lush_workqueue - ensure that any scheduled work has run to completion.*@wq: workqueue to flush* This function sleeps until all work items which were queued on entry* have finished execution, but it is not livelocked by new incoming ones. |
| start_flush_work |
| 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 |