diff options
author | Sebastian Sanchez <[email protected]> | 2016-12-07 19:32:28 -0800 |
---|---|---|
committer | Doug Ledford <[email protected]> | 2016-12-11 15:25:13 -0500 |
commit | 53e91d264be9e9adbf34b83b8ce5c12452f6765e (patch) | |
tree | 12d98b46ba45608e459942d7df6372d0fecb7ab1 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | d7cf4ccf6fe52694142f65cce82decb3fe833f48 (diff) |
IB/hfi1: Use non-atomic __test_and_clear_bit in hot path
qp->r_aflags is already protected by qp->r_lock, therefore,
test_and_clear_bit() doesn't need to be atomic. Profile
shows this function call is costly.
Change the test_and_clear_bit() call to use the non-atomic
variant.
Reviewed-by: Mike Marciniszyn <[email protected]>
Signed-off-by: Sebastian Sanchez <[email protected]>
Signed-off-by: Dennis Dalessandro <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions