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.mari...@arm.com>
> Cc: Will Deacon <will.dea...@arm.com>
> Cc: James Morse <james.mo...@arm.com>
> Cc: Bhupesh Sharma <bhsha...@redhat.com>
> Cc: David Hildenbrand <da...@redhat.com>
> Cc: Mark Rutland <mark.rutl...@arm.com>
> Cc: Dave Kleikamp <dave.kleik...@oracle.com>
> Cc: Andrew Morton <a...@linux-foundation.org>
> Cc: Mike Rapoport <r...@linux.vnet.ibm.com>
> Cc: Michal Hocko <mho...@suse.com>
> Cc: Florian Fainelli <f.faine...@gmail.com>
> Cc: Stefan Agner <ste...@agner.ch>
> Cc: Laura Abbott <labb...@redhat.com>
> Cc: Greg Hackmann <ghackm...@android.com>
> Cc: Johannes Weiner <han...@cmpxchg.org>
> Cc: Kristina Martsenko <kristina.martse...@arm.com>
> Cc: CHANDAN VN <chandan...@samsung.com>
> Cc: AKASHI Takahiro <takahiro.aka...@linaro.org>
> Cc: Logan Gunthorpe <log...@deltatee.com>
> Reviewed-by: Matthias Brugger <mbrug...@suse.com>
> Signed-off-by: David Hildenbrand <da...@redhat.com>

Acked-by: Catalin Marinas <catalin.mari...@arm.com>

Reply via email to