worker_poolRegular
4.4: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct mutex manager_arb;
struct worker *manager;
struct mutex attach_mutex;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
4.8: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct mutex manager_arb;
struct worker *manager;
struct mutex attach_mutex;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
4.10: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct mutex manager_arb;
struct worker *manager;
struct mutex attach_mutex;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
4.13: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct mutex manager_arb;
struct worker *manager;
struct mutex attach_mutex;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
4.15: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct mutex attach_mutex;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
4.18: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
5.0: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
5.3: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
5.4: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
5.8: ✅struct worker_pool {
raw_spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
5.11: ✅struct worker_pool {
raw_spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
5.13: ✅struct worker_pool {
raw_spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
5.15: ✅struct worker_pool {
raw_spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
5.19: ✅struct worker_pool {
raw_spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
int nr_running;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
struct callback_head rcu;
};
6.2: ✅struct worker_pool {
raw_spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
int nr_running;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
struct callback_head rcu;
};
6.5: ✅struct worker_pool {
raw_spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
bool cpu_stall;
int nr_running;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct work_struct idle_cull_work;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct list_head dying_workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
struct callback_head rcu;
};
6.8: ✅struct worker_pool {
raw_spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
bool cpu_stall;
int nr_running;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct work_struct idle_cull_work;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct list_head dying_workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
struct callback_head rcu;
};
arm64: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
armhf: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
ppc64el: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
riscv64: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
aws: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
azure: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
gcp: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
lowlatency: ✅struct worker_pool {
spinlock_t lock;
int cpu;
int node;
int id;
unsigned int flags;
long unsigned int watchdog_ts;
struct list_head worklist;
int nr_workers;
int nr_idle;
struct list_head idle_list;
struct timer_list idle_timer;
struct timer_list mayday_timer;
struct hlist_head busy_hash[64];
struct worker *manager;
struct list_head workers;
struct completion *detach_completion;
struct ida worker_ida;
struct workqueue_attrs *attrs;
struct hlist_node hash_node;
int refcnt;
atomic_t nr_running;
struct callback_head rcu;
};
Regular
4.4 and 4.8 ⚠️long unsigned int watchdog_ts
4.8 and 4.10 ✅
4.10 and 4.13 ✅
4.13 and 4.15 ⚠️struct mutex manager_arb
4.15 and 4.18 ⚠️struct mutex attach_mutex
4.18 and 5.0 ✅
5.0 and 5.3 ✅
5.3 and 5.4 ✅
5.4 and 5.8 ⚠️spinlock_t lock ➡️ raw_spinlock_t lock
5.8 and 5.11 ✅
5.11 and 5.13 ✅
5.13 and 5.15 ✅
5.15 and 5.19 ⚠️atomic_t nr_running ➡️ int nr_running
5.19 and 6.2 ✅
6.2 and 6.5 ⚠️bool cpu_stall
struct work_struct idle_cull_work
struct list_head dying_workers
6.5 and 6.8 ✅
amd64 and arm64 ✅
amd64 and armhf ✅
amd64 and ppc64el ✅
amd64 and riscv64 ✅
generic and aws ✅
generic and azure ✅
generic and gcp ✅
generic and lowlatency ✅