aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/workqueue.c')
-rw-r--r--kernel/workqueue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 6ec6ba65127b..254e636a3d6b 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -5573,12 +5573,13 @@ static void __init wq_numa_init(void)
5573int __init workqueue_init_early(void) 5573int __init workqueue_init_early(void)
5574{ 5574{
5575 int std_nice[NR_STD_WORKER_POOLS] = { 0, HIGHPRI_NICE_LEVEL }; 5575 int std_nice[NR_STD_WORKER_POOLS] = { 0, HIGHPRI_NICE_LEVEL };
5576 int hk_flags = HK_FLAG_DOMAIN | HK_FLAG_WQ;
5576 int i, cpu; 5577 int i, cpu;
5577 5578
5578 WARN_ON(__alignof__(struct pool_workqueue) < __alignof__(long long)); 5579 WARN_ON(__alignof__(struct pool_workqueue) < __alignof__(long long));
5579 5580
5580 BUG_ON(!alloc_cpumask_var(&wq_unbound_cpumask, GFP_KERNEL)); 5581 BUG_ON(!alloc_cpumask_var(&wq_unbound_cpumask, GFP_KERNEL));
5581 cpumask_copy(wq_unbound_cpumask, housekeeping_cpumask(HK_FLAG_DOMAIN)); 5582 cpumask_copy(wq_unbound_cpumask, housekeeping_cpumask(hk_flags));
5582 5583
5583 pwq_cache = KMEM_CACHE(pool_workqueue, SLAB_PANIC); 5584 pwq_cache = KMEM_CACHE(pool_workqueue, SLAB_PANIC);
5584 5585