OSDN Git Service

Merge branch 'for-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq
authorLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 Oct 2017 15:24:52 +0000 (11:24 -0400)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 Oct 2017 15:24:52 +0000 (11:24 -0400)
commit06987dad0a563e406e7841df0f8759368523714f
tree5d3a6eb2b673df374c1227c2cd16e1d024c3039d
parent2f1b11c575acb2fc9e63b8ce11e4a3f6069ba6f6
parent692b48258dda7c302e777d7d5f4217244478f1f6
Merge branch 'for-4.14-fixes' of git://git./linux/kernel/git/tj/wq

Pull workqueue fix from Tejun Heo:
 "This is a fix for an old bug in workqueue. Workqueue used a mutex to
  arbitrate who gets to be the manager of a pool. When the manager role
  gets released, the mutex gets unlocked while holding the pool's
  irqsafe spinlock. This can lead to deadlocks as mutex's internal
  spinlock isn't irqsafe. This got discovered by recent fixes to mutex
  lockdep annotations.

  The fix is a bit invasive for rc6 but if anything were wrong with the
  fix it would likely have already blown up in -next, and we want the
  fix in -stable anyway"

* 'for-4.14-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq:
  workqueue: replace pool->manager_arb mutex with a flag