[v2] powerpc/fadump: add reschedule point while releasing memory
Michael Ellerman
patch-notifications at ellerman.id.au
Thu Jun 29 22:21:08 AEST 2017
On Thu, 2017-06-01 at 19:40:10 UTC, Hari Bathini wrote:
> Around 95% of memory is reserved by fadump/capture kernel. All this
> memory is freed, one page at a time, on writing '1' to the node
> /sys/kernel/fadump_release_mem. On systems with large memory, this
> can take a long time to complete, leading to soft lockup warning
> messages. To avoid this, add reschedule points at regular intervals.
>
> Also, while memblock_reserve() implicitly takes care of holes in the
> given memory range while reserving memory, those holes need to be
> taken care of while releasing memory as memory is freed one page at
> a time. Add support to skip holes while releasing memory.
>
> Suggested-by: Michael Ellerman <mpe at ellerman.id.au>
> Signed-off-by: Hari Bathini <hbathini at linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/68fa6478e3b1fab7077d390070ed45
cheers
More information about the Linuxppc-dev
mailing list