Commit e29258c
Robert Foss
workqueue: Add interface for user-defined workqueue lockdep map
JIRA: https://issues.redhat.com/browse/RHEL-53569
Upstream Status: v6.12-rc1
commit ec0a7d4
Author: Matthew Brost <matthew.brost@intel.com>
AuthorDate: Fri Aug 9 15:28:25 2024 -0700
Commit: Tejun Heo <tj@kernel.org>
CommitDate: Tue Aug 13 09:05:51 2024 -1000
Add an interface for a user-defined workqueue lockdep map, which is
helpful when multiple workqueues are created for the same purpose. This
also helps avoid leaking lockdep maps on each workqueue creation.
v2:
- Add alloc_workqueue_lockdep_map (Tejun)
v3:
- Drop __WQ_USER_OWNED_LOCKDEP (Tejun)
- static inline alloc_ordered_workqueue_lockdep_map (Tejun)
Cc: Tejun Heo <tj@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Robert Foss <rfoss@redhat.com>1 parent c2a6c84 commit e29258c
2 files changed
+80
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
503 | 555 | | |
504 | 556 | | |
505 | 557 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4671 | 4671 | | |
4672 | 4672 | | |
4673 | 4673 | | |
| 4674 | + | |
| 4675 | + | |
| 4676 | + | |
4674 | 4677 | | |
4675 | 4678 | | |
4676 | 4679 | | |
4677 | 4680 | | |
4678 | 4681 | | |
| 4682 | + | |
| 4683 | + | |
| 4684 | + | |
4679 | 4685 | | |
4680 | 4686 | | |
4681 | 4687 | | |
| |||
5665 | 5671 | | |
5666 | 5672 | | |
5667 | 5673 | | |
| 5674 | + | |
| 5675 | + | |
| 5676 | + | |
| 5677 | + | |
| 5678 | + | |
| 5679 | + | |
| 5680 | + | |
| 5681 | + | |
| 5682 | + | |
| 5683 | + | |
| 5684 | + | |
| 5685 | + | |
| 5686 | + | |
| 5687 | + | |
| 5688 | + | |
| 5689 | + | |
| 5690 | + | |
| 5691 | + | |
| 5692 | + | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
5668 | 5696 | | |
5669 | 5697 | | |
5670 | 5698 | | |
| |||
0 commit comments