History

Revert "workqueue: respect isolated cpus when queueing an unbound work"

This reverts commit b5149873a0c299195b5346fe4dc2c5b04ae2f995. It conflicts with the following isolcpus change from the sched branch. edb9382175c3 ("sched/isolation: Move isolcpus= handling to the housekeeping code") Let's revert for now.

Tejun Heo committed 9 years ago

Commit edbfd911 parent b5149871 file · +1 −5Browse files

Showing the changes to kernel/workqueue.c (1 of 1 file). Show all

Unified · Split

kernel/workqueue.c+1−5
@@ -4980,10 +4980,6 @@ int workqueue_set_unbound_cpumask(cpumask_var_t cpumask) · 4979 unmodified lines
49804980 if (!zalloc_cpumask_var(&saved_cpumask, GFP_KERNEL))
49814981 return -ENOMEM;
49824982
4983− /*
4984− * Not excluding isolated cpus on purpose.
4985− * If the user wishes to include them, we allow that.
4986− */
49874983 cpumask_and(cpumask, cpumask, cpu_possible_mask);
49884984 if (!cpumask_empty(cpumask)) {
49894985 apply_wqattrs_lock();
@@ -5583,7 +5579,7 @@ int __init workqueue_init_early(void) · 593 unmodified lines
55835579 WARN_ON(__alignof__(struct pool_workqueue) < __alignof__(long long));
55845580
55855581 BUG_ON(!alloc_cpumask_var(&wq_unbound_cpumask, GFP_KERNEL));
5586− cpumask_andnot(wq_unbound_cpumask, cpu_possible_mask, cpu_isolated_map);
5582+ cpumask_copy(wq_unbound_cpumask, cpu_possible_mask);
55875583
55885584 pwq_cache = KMEM_CACHE(pool_workqueue, SLAB_PANIC);
55895585

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t