Thread (4 messages) flat view 4 messages, 3 authors, 2019-05-09

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")
Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/f39356261c265a0689d7ee568132d516

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help