diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2017-02-07 15:41:52 -0900 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2017-02-07 15:41:52 -0900 |
commit | e4d1c93d85a5b86c04599bfc9f658308d741fd41 (patch) | |
tree | f0265dd1bf7afa48271c58f37dcbb2060ff3813b /linux/workqueue.c | |
parent | d230eaea612b5649a9b84ca1f5bb41455251741e (diff) |
fewer workqueuesbcachefs-v0
Diffstat (limited to 'linux/workqueue.c')
-rw-r--r-- | linux/workqueue.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/linux/workqueue.c b/linux/workqueue.c index b25e7a4..f594277 100644 --- a/linux/workqueue.c +++ b/linux/workqueue.c @@ -293,8 +293,6 @@ struct workqueue_struct *system_highpri_wq; struct workqueue_struct *system_long_wq; struct workqueue_struct *system_unbound_wq; struct workqueue_struct *system_freezable_wq; -struct workqueue_struct *system_power_efficient_wq; -struct workqueue_struct *system_freezable_power_efficient_wq; __attribute__((constructor(102))) static void wq_init(void) @@ -306,13 +304,6 @@ static void wq_init(void) WQ_UNBOUND_MAX_ACTIVE); system_freezable_wq = alloc_workqueue("events_freezable", WQ_FREEZABLE, 0); - system_power_efficient_wq = alloc_workqueue("events_power_efficient", - WQ_POWER_EFFICIENT, 0); - system_freezable_power_efficient_wq = alloc_workqueue("events_freezable_power_efficient", - WQ_FREEZABLE | WQ_POWER_EFFICIENT, - 0); BUG_ON(!system_wq || !system_highpri_wq || !system_long_wq || - !system_unbound_wq || !system_freezable_wq || - !system_power_efficient_wq || - !system_freezable_power_efficient_wq); + !system_unbound_wq || !system_freezable_wq); } |