From: chenjie <chenjie6@xxxxxxxxxx> We show the pte: *pte=01600000159c8fd3 The page should be no_cache attr,it will be better. Cc: <stable@xxxxxxxxxxxxxxx> Signed-off-by: chenjie <chenjie6@xxxxxxxxxx> --- fs/dax.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/dax.c b/fs/dax.c index 43671b6..179ced6 100644 --- a/fs/dax.c +++ b/fs/dax.c @@ -328,6 +328,8 @@ static int dax_insert_mapping(struct inode *inode, struct buffer_head *bh, wmb_pmem(); } + vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); + error = vm_insert_mixed(vma, vaddr, pfn); out: -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html