aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2022-06-08 08:34:34 +0800
committerDavid Sterba <dsterba@suse.com>2022-07-25 17:45:35 +0200
commitaee35e4bcc3029fc3be15f696043107125b7209f (patch)
treef5e470f91f7f2f07e064c3a81a87ded615416f62 /tools/perf/scripts/python/syscall-counts.py
parentbtrfs: raid56: avoid double for loop inside __raid56_parity_recover() (diff)
downloadlinux-dev-aee35e4bcc3029fc3be15f696043107125b7209f.tar.xz
linux-dev-aee35e4bcc3029fc3be15f696043107125b7209f.zip
btrfs: raid56: avoid double for loop inside alloc_rbio_essential_pages()
The double loop is just checking if the page for the vertical stripe is allocated. We can easily convert it to single loop and get rid of @stripe variable. Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions