Add support for Clang's context analysis for ww_mutex. The programming model for ww_mutex is subtly more complex than other locking primitives when using ww_acquire_ctx. Encoding the respective pre-conditions for ww_mutex lock/unlock based on ww_acquire_ctx state using Clang's context analysis makes incorrect use of the API harder. Signed-off-by: Marco Elver <elver@google.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20251219154418.3592607-21-elver@google.com |
||
|---|---|---|
| .. | ||
| kunit | ||
| lkmm | ||
| autofdo.rst | ||
| checkpatch.rst | ||
| checkuapi.rst | ||
| clang-format.rst | ||
| coccinelle.rst | ||
| context-analysis.rst | ||
| gcov.rst | ||
| gpio-sloppy-logic-analyzer.rst | ||
| index.rst | ||
| kasan.rst | ||
| kcov.rst | ||
| kcsan.rst | ||
| kfence.rst | ||
| kmemleak.rst | ||
| kmsan.rst | ||
| kselftest.rst | ||
| ktap.rst | ||
| propeller.rst | ||
| sparse.rst | ||
| testing-devices.rst | ||
| testing-overview.rst | ||
| ubsan.rst | ||