diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-09-03 21:42:26 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-10-03 09:10:36 -0700 |
| commit | 6bbf7efc40f7d43383bac63537a8d4e6253a2e98 (patch) | |
| tree | 94fb54af1b236981974cd2bc2a1c9ce21fa67702 /tools/perf/scripts/python/bin | |
| parent | Input: da7280 - use guard notation when acquiring mutex and spinlock (diff) | |
| download | linux-6bbf7efc40f7d43383bac63537a8d4e6253a2e98.tar.gz linux-6bbf7efc40f7d43383bac63537a8d4e6253a2e98.zip | |
Input: kxtj9 - use guard notation when acquiring mutex/disabling irq
Using guard notation makes the code more compact and error handling
more robust by ensuring that mutexes are released and interrupts are
re-enabled in all code paths when control leaves critical section.
Reviewed-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240904044244.1042174-7-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
