summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorGao Xiang <hsiangkao@linux.alibaba.com>2024-12-12 05:39:48 +0300
committerGao Xiang <hsiangkao@linux.alibaba.com>2025-01-16 22:17:32 +0300
commit54ab25d03eab652a321c3d1566edc2b050d83f2f (patch)
treeb84e5397e39604ecb17459cc839403612a3dc013 /tools/perf/scripts/python/syscall-counts.py
parenta78c5c2269e39544fab4140105f55fca4502e915 (diff)
downloadlinux-54ab25d03eab652a321c3d1566edc2b050d83f2f.tar.xz
erofs: micro-optimize superblock checksum
Just verify the remaining unknown on-disk data instead of allocating a temporary buffer for the whole superblock and zeroing out the checksum field since .magic(EROFS_SUPER_MAGIC_V1) is verified and .checksum(0) is fixed. Reviewed-by: Chao Yu <chao@kernel.org> Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com> Link: https://lore.kernel.org/r/20241212023948.1143038-1-hsiangkao@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions