Thread (9 messages) 9 messages, 3 authors, 2021-06-25

Re: [PATCH 2/3] powerpc/pseries: break early in dlpar_memory_add_by_count() loops

flat view

From: Michael Ellerman <hidden>
Date: 2021-06-25 06:25:37

On Tue, 22 Jun 2021 10:39:22 -0300, Daniel Henrique Barboza wrote:
After a successful dlpar_add_lmb() call the LMB is marked as reserved.
Later on, depending whether we added enough LMBs or not, we rely on
the marked LMBs to see which ones might need to be removed, and we
remove the reservation of all of them.

These are done in for_each_drmem_lmb() loops without any break
condition. This means that we're going to check all LMBs of the partition
even after going through all the reserved ones.

[...]
Applied to powerpc/next.

[2/3] powerpc/pseries: break early in dlpar_memory_add_by_count() loops
      https://git.kernel.org/powerpc/c/c2aaddcc65b343fad4ed184e625abd3e68f63b9b

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help