summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/xarray.py
diff options
context:
space:
mode:
authorYury Norov (NVIDIA) <yury.norov@gmail.com>2025-09-13 03:09:05 +0300
committerWill Deacon <will@kernel.org>2025-09-16 23:05:48 +0300
commit19dd484cd19c308e2ea763f8d31e43a7f1ab6141 (patch)
treead2a8314bcc0ebdfc2a89cf3e32edb72c3c9580b /scripts/gdb/linux/xarray.py
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff)
downloadlinux-19dd484cd19c308e2ea763f8d31e43a7f1ab6141.tar.xz
arm64/fpsimd: simplify sme_setup()
The function checks info->vq_map for emptiness right before calling find_last_bit(). We can use the find_last_bit() output and save on bitmap_empty() call, which is O(N). Signed-off-by: Yury Norov (NVIDIA) <yury.norov@gmail.com> Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/xarray.py')
0 files changed, 0 insertions, 0 deletions