]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: Don't flush caches when adding memory
authorAlastair D'Silva <alastair@d-silva.org>
Mon, 4 Nov 2019 02:32:58 +0000 (13:32 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Nov 2019 12:35:41 +0000 (23:35 +1100)
commitd7af8efb4e6e620743733c645b99d9b713ced157
treed8352970cb1161da34381d5ca173fc7ff9db6907
parent9cfaeccb99276898233f817f431ef20855d7f0c1
powerpc: Don't flush caches when adding memory

This operation takes a significant amount of time when hotplugging
large amounts of memory (~50 seconds with 890GB of persistent memory).

This was orignally in commit 88c018958bb6
("powerpc/mm: Flush cache on memory hot(un)plug") to support memtrace,
but the flush on add is not needed as it is flushed on remove.

Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20191104023305.9581-7-alastair@au1.ibm.com
arch/powerpc/mm/mem.c