]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'for-3.17-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 22 Sep 2014 15:42:55 +0000 (08:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 22 Sep 2014 15:42:55 +0000 (08:42 -0700)
commit93b21b54bf72922f85771867b78e60b64836e3e7
treeaa233c719c2289b85c145fcdbe617d983837206a
parenta00c285efa14e5f43dfcae2fbbe16134c76cb9d4
parent5839cb9532880dfe4f4922b03730c3ba8195f5dd
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()