diff options
author | 2024-04-22 09:47:36 -0700 | |
---|---|---|
committer | 2024-04-23 07:46:55 -0700 | |
commit | f49af061f49c004fb6df7f791f39f9ed370f767b (patch) | |
tree | 25e0d1740db3b617bf78acb654e0aad6dec8dd28 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: rearrange xfs_attr_match parameters (diff) | |
download | wireguard-linux-f49af061f49c004fb6df7f791f39f9ed370f767b.tar.xz wireguard-linux-f49af061f49c004fb6df7f791f39f9ed370f767b.zip |
xfs: check the flags earlier in xfs_attr_match
Checking the flags match is much cheaper than a memcmp, so do it early
on in xfs_attr_match, and also add a little helper to calculate the
match mask right under the comment explaining the logic for it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions