Kai and Toshi reported poor performance with huge-page dax mappings and while debugging a few more bugs were discovered in the device-dax driver and mm. The following fixes target 4.8-rc6 and are tagged for -stable: - device-dax incorrectly translates the file offset to a physical resource address - show_smap() crashes on huge-page dax mappings - huge-page dax mappings are inadvertently being marked as _PAGE_CACHE_MODE_UC instead of _PAGE_CACHE_MODE_WB I would like to take this set through nvdimm.git with acks from mm folks as there is 4.9 device-dax development that depends on these changes. --- Dan Williams (5): dax: fix mapping size check dax: fix offset to physical address translation mm: fix show_smap() for zone_device-pmd ranges mm: fix cache mode of dax pmd mappings mm: cleanup pfn_t usage in track_pfn_insert() arch/x86/mm/pat.c | 4 ++-- drivers/dax/dax.c | 12 +++++++----- fs/proc/task_mmu.c | 2 ++ include/asm-generic/pgtable.h | 4 ++-- mm/huge_memory.c | 6 ++---- mm/memory.c | 2 +- 6 files changed, 16 insertions(+), 14 deletions(-) -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>