Commit c29eb85
committed
workqueue: more destroy_workqueue() fixes
destroy_workqueue() warnings still, at a lower frequency, trigger
spuriously. The problem seems to be in-flight operations which
haven't reached put_pwq() yet.
* Make sanity check grab all the related locks so that it's
synchronized against operations which puts pwq at the end.
* Always print out the offending pwq.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: "Williams, Gerald S" <gerald.s.williams@intel.com>1 parent 30ae2fc commit c29eb85
1 file changed
Lines changed: 31 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
| |||
4314 | 4315 | | |
4315 | 4316 | | |
4316 | 4317 | | |
| 4318 | + | |
| 4319 | + | |
| 4320 | + | |
| 4321 | + | |
| 4322 | + | |
| 4323 | + | |
| 4324 | + | |
| 4325 | + | |
| 4326 | + | |
| 4327 | + | |
| 4328 | + | |
| 4329 | + | |
| 4330 | + | |
| 4331 | + | |
| 4332 | + | |
| 4333 | + | |
4317 | 4334 | | |
4318 | 4335 | | |
4319 | 4336 | | |
| |||
4348 | 4365 | | |
4349 | 4366 | | |
4350 | 4367 | | |
4351 | | - | |
| 4368 | + | |
| 4369 | + | |
| 4370 | + | |
| 4371 | + | |
| 4372 | + | |
4352 | 4373 | | |
4353 | 4374 | | |
4354 | | - | |
4355 | | - | |
4356 | | - | |
4357 | | - | |
4358 | | - | |
4359 | | - | |
4360 | | - | |
4361 | | - | |
4362 | | - | |
4363 | | - | |
4364 | | - | |
4365 | | - | |
4366 | | - | |
| 4375 | + | |
| 4376 | + | |
| 4377 | + | |
| 4378 | + | |
| 4379 | + | |
| 4380 | + | |
4367 | 4381 | | |
| 4382 | + | |
4368 | 4383 | | |
4369 | 4384 | | |
4370 | 4385 | | |
| 4386 | + | |
4371 | 4387 | | |
4372 | 4388 | | |
| 4389 | + | |
4373 | 4390 | | |
4374 | 4391 | | |
4375 | 4392 | | |
| |||
0 commit comments