diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2024-08-12 13:39:04 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-10-24 12:27:02 +0300 |
commit | 168660b826a77fda28235e0b0b3027041d6a5240 (patch) | |
tree | 8b8b989867c20fada65bf55cc0a194552551508d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b1f01f9e54b1aaadb6740f86017e8fabdee77fe2 (diff) | |
download | linux-168660b826a77fda28235e0b0b3027041d6a5240.tar.xz |
locking/rt: Add sparse annotation for RCU.
Every lock, that becomes a sleeping lock on PREEMPT_RT, starts a RCU read
side critical section. There is no sparse annotation for this and sparse
complains about unbalanced locking.
Add __acquires/ __releases for the RCU lock. This covers all but the
trylock functions. A __cond_acquires() annotation didn't work.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240812104200.2239232-4-bigeasy@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions