diff options
author | Matthew Brost <matthew.brost@intel.com> | 2024-08-09 15:28:25 -0700 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-08-13 09:05:51 -1000 |
commit | ec0a7d44b358afaaf52856d03c72e20587bc888b (patch) | |
tree | 10b58f5bb8f6088eb6ddbb946256287abf5dc194 /lib/test_fortify/write_overflow-memmove.c | |
parent | 4f022f430e21e456893283036bc2ea78ac6bd2a1 (diff) |
workqueue: Add interface for user-defined workqueue lockdep map
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>
Diffstat (limited to 'lib/test_fortify/write_overflow-memmove.c')
0 files changed, 0 insertions, 0 deletions