Re: [PATCH] powerpc/book3s/64: check for NULL pointer in pgd_alloc()
From: Michael Ellerman <hidden> Date: 2019-05-09 15:36:25
On Mon, 2019-05-06 at 00:20:43 UTC, Rick Lindsley wrote:
When the memset code was added to pgd_alloc(), it failed to consider that kmem_cache_alloc() can return NULL. It's uncommon, but not impossible under heavy memory contention.
Signed-off-by: Rick Lindsley <redacted>
Fixes: cf266dbcd2a7 ("Zero PGD pages on allocation")