| From | Sebastian Andrzej Siewior <> | Subject | [PATCH 0/9] Lock ordering documentation and annotation for lockdep | Date | Fri, 13 Mar 2020 18:46:52 +0100 |
| |
The first patch introduces the long asked locking documentation regarding spinlock_t vs raw_spinlock_t (and other locking primitives). Followed by updates to obey the rules including a change to completions to use struct swait_queue_head instead of wait_queue_head_t.
It ends with lockdep updates to recognize the "bad" lock nesting. This new lockdep feature is activated by CONFIG_PROVE_RAW_LOCK_NESTING. Once enabled it will report for instance printk, the memory allocator or the workqueue implementation. This is known and it is worked on.
Sebastian
|