[PATCH v2 7/9] arm64: kdump: No need to mark crashkernel pages manually PG_reserved

Catalin Marinas catalin.marinas at arm.com
Sat Jan 26 03:28:31 AEDT 2019


On Mon, Jan 14, 2019 at 01:59:01PM +0100, David Hildenbrand wrote:
> The crashkernel is reserved via memblock_reserve(). memblock_free_all()
> will call free_low_memory_core_early(), which will go over all reserved
> memblocks, marking the pages as PG_reserved.
> 
> So manually marking pages as PG_reserved is not necessary, they are
> already in the desired state (otherwise they would have been handed over
> to the buddy as free pages and bad things would happen).
> 
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: James Morse <james.morse at arm.com>
> Cc: Bhupesh Sharma <bhsharma at redhat.com>
> Cc: David Hildenbrand <david at redhat.com>
> Cc: Mark Rutland <mark.rutland at arm.com>
> Cc: Dave Kleikamp <dave.kleikamp at oracle.com>
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Mike Rapoport <rppt at linux.vnet.ibm.com>
> Cc: Michal Hocko <mhocko at suse.com>
> Cc: Florian Fainelli <f.fainelli at gmail.com>
> Cc: Stefan Agner <stefan at agner.ch>
> Cc: Laura Abbott <labbott at redhat.com>
> Cc: Greg Hackmann <ghackmann at android.com>
> Cc: Johannes Weiner <hannes at cmpxchg.org>
> Cc: Kristina Martsenko <kristina.martsenko at arm.com>
> Cc: CHANDAN VN <chandan.vn at samsung.com>
> Cc: AKASHI Takahiro <takahiro.akashi at linaro.org>
> Cc: Logan Gunthorpe <logang at deltatee.com>
> Reviewed-by: Matthias Brugger <mbrugger at suse.com>
> Signed-off-by: David Hildenbrand <david at redhat.com>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>


More information about the Linuxppc-dev mailing list