aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <[email protected]>2021-06-22 10:39:23 -0300
committerMichael Ellerman <[email protected]>2021-06-25 00:07:09 +1000
commit0e5962b2ec3d07204fd995ed07870bff3322525c (patch)
treefc8c822422adf59177b20dff4f32a71ba2879e47 /tools/perf/scripts/python/stackcollapse.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 <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions