summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMateusz Guzik <mjguzik@gmail.com>2025-03-19 13:49:23 +0100
committerChristian Brauner <brauner@kernel.org>2025-03-19 14:09:58 +0100
commit9ae7e5a1cd17b271e1b3339a23883d3d64724dcc (patch)
tree54065ce766278bb21114f5786e2c2a8b1b72cf55 /tools/perf/scripts/python/export-to-postgresql.py
parent5a607aa94398760585579649f0881d2d354f4e00 (diff)
fs: predict not reaching the limit in alloc_empty_file()
Eliminates a jump over a call to capable() in the common case. By default the limit is not even set, in which case the check can't even fail to begin with. It remains unset at least on Debian and Ubuntu. For this cases this can probably become a static branch instead. In the meantime tidy it up. I note the check separate from the bump makes the entire thing racy. Signed-off-by: Mateusz Guzik <mjguzik@gmail.com> Link: https://lore.kernel.org/r/20250319124923.1838719-1-mjguzik@gmail.com Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions