diff options
author | Alan Huang <mmpgouride@gmail.com> | 2024-09-25 19:45:00 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-01-14 18:45:08 +0300 |
commit | cdc419dbf286eeaabb361d5cf5cee2cb566b6f5f (patch) | |
tree | c8b8296001611d42d35297a9d11c845c1944e0bb /tools/perf/scripts/python/syscall-counts.py | |
parent | 9c13cc9c7dd7852ab5080f735f896b4e2ac7e9d4 (diff) | |
download | linux-cdc419dbf286eeaabb361d5cf5cee2cb566b6f5f.tar.xz |
bcachefs: Merge the condition to avoid additional invocation
If the lock has been acquired and unlocked, we don't have to do clear
and wakeup again, though harmless since we hold the intent lock. Merge
the condition might be clearer.
Signed-off-by: Alan Huang <mmpgouride@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions