diff options
author | 2018-12-10 22:34:39 +0100 | |
---|---|---|
committer | 2018-12-10 14:44:56 -0700 | |
commit | e4025e46f093d4549d3043c2c54d444cec480d2b (patch) | |
tree | d96d7141ef0bdcc4147fb55530b2d9857f7a93a7 /tools/perf/scripts/python | |
parent | dm: remove the pending IO accounting (diff) | |
download | linux-dev-e4025e46f093d4549d3043c2c54d444cec480d2b.tar.xz linux-dev-e4025e46f093d4549d3043c2c54d444cec480d2b.zip |
mtip32xx: avoid using semaphores
The "cmd_slot_unal" semaphore is never used in a blocking way
but only as an atomic counter. Change the code to using
atomic_dec_if_positive() as a better API.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions