From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 625BC1A1E63 for ; Tue, 6 Sep 2016 09:52:19 -0700 (PDT) Subject: [PATCH 0/5] device-dax and huge-page dax fixes for 4.8-rc6 From: Dan Williams Date: Tue, 06 Sep 2016 09:49:20 -0700 Message-ID: <147318056046.30325.5100892122988191500.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-nvdimm-bounces@lists.01.org Sender: "Linux-nvdimm" To: linux-nvdimm@lists.01.org Cc: Matthew Wilcox , Nilesh Choudhury , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, "Kirill A. Shutemov" , Kai Zhang List-ID: 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(-) _______________________________________________ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936591AbcIFQwW (ORCPT ); Tue, 6 Sep 2016 12:52:22 -0400 Received: from mga11.intel.com ([192.55.52.93]:46254 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934973AbcIFQwU (ORCPT ); Tue, 6 Sep 2016 12:52:20 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,292,1470726000"; d="scan'208";a="1046381032" Subject: [PATCH 0/5] device-dax and huge-page dax fixes for 4.8-rc6 From: Dan Williams To: linux-nvdimm@ml01.01.org Cc: Toshi Kani , Matthew Wilcox , Nilesh Choudhury , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, Ross Zwisler , "Kirill A. Shutemov" , Kai Zhang Date: Tue, 06 Sep 2016 09:49:20 -0700 Message-ID: <147318056046.30325.5100892122988191500.stgit@dwillia2-desk3.amr.corp.intel.com> User-Agent: StGit/0.17.1-9-g687f MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: [PATCH 0/5] device-dax and huge-page dax fixes for 4.8-rc6 From: Dan Williams To: linux-nvdimm@lists.01.org Cc: Toshi Kani , Matthew Wilcox , Nilesh Choudhury , linux-kernel@vger.kernel.org, stable@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, Ross Zwisler , "Kirill A. Shutemov" , Kai Zhang Date: Tue, 06 Sep 2016 09:49:20 -0700 Message-ID: <147318056046.30325.5100892122988191500.stgit@dwillia2-desk3.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: 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@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org