summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2021-06-22 10:39:23 -0300
committerMichael Ellerman <mpe@ellerman.id.au>2021-06-25 00:07:09 +1000
commit0e5962b2ec3d07204fd995ed07870bff3322525c (patch)
treefc8c822422adf59177b20dff4f32a71ba2879e47 /tools/perf/scripts/python/export-to-postgresql.py
parentc2aaddcc65b343fad4ed184e625abd3e68f63b9b (diff)
powerpc/pseries: fail quicker in dlpar_memory_add_by_ic()
The validation done at the start of dlpar_memory_add_by_ic() is an all of nothing scenario - if any LMBs in the range is marked as RESERVED we can fail right away. We then can remove the 'lmbs_available' var and its check with 'lmbs_to_add' since the whole LMB range was already validated in the previous step. Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210622133923.295373-4-danielhb413@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions