diff options
author | 2024-06-24 23:11:01 +0300 | |
---|---|---|
committer | 2024-07-04 16:00:23 +0200 | |
commit | 0ca4da2412da05fb9dd0b5d90dcc8026219f0f29 (patch) | |
tree | e00e70ea550c741ea37fb45bfa608a39ef6404e0 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | perf: Fix default aux_watermark calculation (diff) | |
download | wireguard-linux-0ca4da2412da05fb9dd0b5d90dcc8026219f0f29.tar.xz wireguard-linux-0ca4da2412da05fb9dd0b5d90dcc8026219f0f29.zip |
perf: Make rb_alloc_aux() return an error immediately if nr_pages <= 0
rb_alloc_aux() should not be called with nr_pages <= 0. Make it more robust
and readable by returning an error immediately in that case.
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240624201101.60186-8-adrian.hunter@intel.com
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions