diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-09-22 08:42:55 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-09-22 08:42:55 -0700 |
commit | 7c9a3730a5ef4c6240eaaa2d8dcdb8cc1627d715 (patch) | |
tree | aa233c719c2289b85c145fcdbe617d983837206a /kernel/module.c | |
parent | f2d5a94436cc7cc0221b9a81bba2276a25187dd3 (diff) | |
parent | e09c2c295468476a239d13324ce9042ec4de05eb (diff) | |
download | linux-7c9a3730a5ef4c6240eaaa2d8dcdb8cc1627d715.tar.bz2 |
Merge branch 'for-3.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
Pull workqueue fix from Tejun Heo:
"create_singlethread_workqueue() is the old interface which is kept
around for backward compatibility - each should be reviewed to
determine whether singlethread usage was to save worker threads or for
ordering guarantee and whether it's depended upon by memory reclaim
path.
While adding NUMA support for unbound workqueues during v3.10, I
forgot to update it breaking the singlethread and ordering properties
on NUMA setups. The breakage was unfortunately rather subtle and went
without being reported until now.
The only missing piece is __WQ_ORDERED flag which makes the unbounded
workqueue use a single backend queue across different NUMA nodes.
It's fixed by making create_singlethread_workqueue() wrap
alloc_ordered_workqueue() so that possible future updates are
inherited automatically"
* 'for-3.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
workqueue: apply __WQ_ORDERED to create_singlethread_workqueue()
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions