diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-09 14:47:20 +0100 |
---|---|---|
committer | Mikulas Patocka <mpatocka@redhat.com> | 2025-01-17 22:05:39 +0100 |
commit | 6942348d1bbdb612bc14025cab467fd1f012abe8 (patch) | |
tree | be8cbb20a0a9e0e019e68194ac080c8928d9b18d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | c3a1f2ef72a97a79410c566022c5ea962f815ed9 (diff) |
dm: remove useless test in alloc_multiple_bios
The test gfp_flag & GFP_NOWAIT was always true, because both GFP_NOIO and
GFP_NOWAIT include the flag __GFP_KSWAPD_RECLAIM. Luckily, this oversight
didn't result in any harm; the loop always started with "try = 0".
This patch removes the faulty test and explicitly starts the loop with
"try = 0" (so that we don't hold the mutex in the first iteration).
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions