[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <5195030D-7ED9-4074-AB6C-92A3AFF11E00@oracle.com>
Date: Thu, 17 Jan 2019 03:19:35 -0700
From: William Kucharski <william.kucharski@...cle.com>
To: Mike Rapoport <rppt@...ux.ibm.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/page_alloc: check return value of
memblock_alloc_node_nopanic()
This seems very reasonable, but if the code is just going to panic if the allocation fails, why not call memblock_alloc_node() instead?
If there is a reason we'd prefer to call memblock_alloc_node_nopanic(), I'd like to see pgdat->nodeid printed in the panic message as well.
Powered by blists - more mailing lists