]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: Suppress kmalloc (DAX driver) warning due to allocation failure
authorSanath Kumar <sanath.s.kumar@oracle.com>
Thu, 29 Jun 2017 17:13:28 +0000 (12:13 -0500)
committerAllen Pais <allen.pais@oracle.com>
Tue, 11 Jul 2017 07:36:49 +0000 (13:06 +0530)
commit982af57e595884c41090fd38ade55553c60c6f97
treeebcf3e9e7ed86179f64bf215edcbed2f0afe6e4a
parentb3b874be405e6c8cad8739c07a41a93e640c599f
sparc64: Suppress kmalloc (DAX driver) warning due to allocation failure

dax_alloc is used by libdax to allocate 4MB chunks of physically
contiguous memory using kmalloc. It is normal for dax_alloc to fail
when kmalloc runs out of memory and this should not be treated as a warning.
This failure should be caught in libdax and attempted to allocate memory
from another source (Eg: mmap hugepage).

Orabug: 26224254

Signed-off-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Reviewed-by: Rob Gardner <rob.gardner@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@Oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/dax/dax_mm.c