lkml.org 
[lkml]   [2016]   [Sep]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH 0/5] device-dax and huge-page dax fixes for 4.8-rc6
From
Date
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(-)

\
 
 \ /
  Last update: 2016-09-17 09:58    [W:0.127 / U:0.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site