]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc64: DAX request to mmap non 4MB memory should fail with a debug print
authorSanath Kumar <sanath.s.kumar@oracle.com>
Thu, 6 Apr 2017 20:27:34 +0000 (15:27 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 24 Apr 2017 04:43:28 +0000 (21:43 -0700)
commit21b35ab00badd4745e064a39e3ce0015139db973
treeee0bf25808aa205569a46aed1b8e669254947a1e
parent2929ad0e0c4b6383ee497f585a588a58333c81c6
sparc64: DAX request to mmap non 4MB memory should fail with a debug print

Orabug:25852910

When the dax flow control is disabled, dax_alloc_mem(...) only allows 4MB
allocation in the driver. Any other requests are reported as an error
with an error print to the kernel log. We now have a dax subpage
allocator in libdax which gets triggered when the driver reports the
above said failure. In other words it is a normal use case for the driver
to report this. So make this a debug print.

Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/dax/dax_mm.c