diff options
author | 2023-12-21 20:34:17 -0500 | |
---|---|---|
committer | 2024-07-14 19:00:16 -0400 | |
commit | 1a616c2fe96b357894b74b41787d4ea6987f6199 (patch) | |
tree | f14fa2ca62aa960c73794f45945b44c73cfc8f63 /scripts/generate_rust_analyzer.py | |
parent | bcachefs: Improve copygc_wait_to_text() (diff) | |
download | linux-rng-1a616c2fe96b357894b74b41787d4ea6987f6199.tar.xz linux-rng-1a616c2fe96b357894b74b41787d4ea6987f6199.zip |
lockdep: lockdep_set_notrack_class()
Add a new helper to disable lockdep tracking entirely for a given class.
This is needed for bcachefs, which takes too many btree node locks for
lockdep to track. Instead, we have a single lockdep_map for "btree_trans
has any btree nodes locked", which makes more since given that we have
centralized lock management and a cycle detector.
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Will Deacon <will@kernel.org>
Cc: Waiman Long <longman@redhat.com>
Cc: Boqun Feng <boqun.feng@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions