diff options
author | 2024-07-10 10:31:19 +0000 | |
---|---|---|
committer | 2024-09-03 10:07:39 +0530 | |
commit | ca57120dfe2790a90fbafa3f7ced9c39d94d4698 (patch) | |
tree | 2630e3d871fded253baecf763de80c6b4769cb44 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | xfs: reclaim speculative preallocations for append only files (diff) | |
download | wireguard-linux-ca57120dfe2790a90fbafa3f7ced9c39d94d4698.tar.xz wireguard-linux-ca57120dfe2790a90fbafa3f7ced9c39d94d4698.zip |
xfs: Use xfs set and clear mp state helpers
Use the set and clear mp state helpers instead of open-coding.
It is noted that in some instances calls to atomic operation set_bit() and
clear_bit() are being replaced with test_and_set_bit() and
test_and_clear_bit(), respectively, as there is no specific helpers for
set_bit() and clear_bit() only. However should be ok, as we are just
ignoring the returned value from those "test" variants.
Signed-off-by: John Garry <john.g.garry@oracle.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions