struct worker_pool { spinlock_t lock; /* the pool lock */ int cpu; /* I: the associated cpu */ //绑定到CPU的workqueue,代表CPU ID int node; /* I: the associated node ID */ //非绑定类型的workqueue,代表内存Node ID int id; /* I: pool ID */ unsigned int flags; /* X: flags...
l s_readonly_remount:正在进行的只读重新挂载操作。 l s_dio_done_wq:指向工作队列结构体(struct workqueue_struct)的指针。在 Linux 内核中,AIO(Asynchronous I/O)操作可能会从中断上下文中延迟处理,因此需要使用工作队列来处理这些延迟的 AIO 完成事件。s_dio_done_wq 指针指向用于处理这些 AIO 完成事件的工作...
struct pool_workqueue __percpu __rcu **cpu_pwq; /* I: per-cpu pwqs */ struct wq_node_nr_active *node_nr_active[]; /* I: per-node nr_active */ };static struct kmem_cache *pwq_cache; @@ -1426,31 +1415,6 @@ work_func_t wq_worker_last_func(struct task_struct *task) ...