powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

Michael Ellerman patch-notifications at ellerman.id.au
Fri Sep 1 23:29:55 AEST 2017


On Wed, 2017-08-23 at 17:18:43 UTC, John Allen wrote:
> Check if an LMB is assigned before attempting to call dlpar_acquire_drc in
> order to avoid any unnecessary rtas calls. This substantially reduces the
> running time of memory hot add on lpars with large amounts of memory.
> 
> Signed-off-by: John Allen <jallen at linux.vnet.ibm.com>
> Reviewed-by: Nathan Fontenot <nfont at linux.vnet.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/afb5519fdb346201728040cab4e08c

cheers


More information about the Linuxppc-dev mailing list