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 <[email protected]>
> Cc: Will Deacon <[email protected]>
> Cc: James Morse <[email protected]>
> Cc: Bhupesh Sharma <[email protected]>
> Cc: David Hildenbrand <[email protected]>
> Cc: Mark Rutland <[email protected]>
> Cc: Dave Kleikamp <[email protected]>
> Cc: Andrew Morton <[email protected]>
> Cc: Mike Rapoport <[email protected]>
> Cc: Michal Hocko <[email protected]>
> Cc: Florian Fainelli <[email protected]>
> Cc: Stefan Agner <[email protected]>
> Cc: Laura Abbott <[email protected]>
> Cc: Greg Hackmann <[email protected]>
> Cc: Johannes Weiner <[email protected]>
> Cc: Kristina Martsenko <[email protected]>
> Cc: CHANDAN VN <[email protected]>
> Cc: AKASHI Takahiro <[email protected]>
> Cc: Logan Gunthorpe <[email protected]>
> Reviewed-by: Matthias Brugger <[email protected]>
> Signed-off-by: David Hildenbrand <[email protected]>

Acked-by: Catalin Marinas <[email protected]>

Reply via email to