From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by kanga.kvack.org (Postfix) with ESMTP id AED776B0038 for ; Mon, 1 Jun 2015 04:58:27 -0400 (EDT) Received: by wibut5 with SMTP id ut5so31787105wib.1 for ; Mon, 01 Jun 2015 01:58:27 -0700 (PDT) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com. [2a00:1450:400c:c00::22e]) by mx.google.com with ESMTPS id gk19si23617662wjc.187.2015.06.01.01.58.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2015 01:58:26 -0700 (PDT) Received: by wgez8 with SMTP id z8so108171217wge.0 for ; Mon, 01 Jun 2015 01:58:25 -0700 (PDT) Date: Mon, 1 Jun 2015 10:58:21 +0200 From: Ingo Molnar Subject: Re: [PATCH v10 12/12] drivers/block/pmem: Map NVDIMM with ioremap_wt() Message-ID: <20150601085821.GA15014@gmail.com> References: <1432739944-22633-1-git-send-email-toshi.kani@hp.com> <1432739944-22633-13-git-send-email-toshi.kani@hp.com> <20150529091129.GC31435@pd.tnic> <1432911782.23540.55.camel@misato.fc.hp.com> <94D0CD8314A33A4D9D801C0FE68B40295A92F392@G9W0745.americas.hpqcorp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: To: Andy Lutomirski Cc: "Elliott, Robert (Server Storage)" , Dan Williams , "Kani, Toshimitsu" , Borislav Petkov , Ross Zwisler , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , Andrew Morton , Arnd Bergmann , "linux-mm@kvack.org" , "linux-kernel@vger.kernel.org" , X86 ML , "linux-nvdimm@lists.01.org" , Juergen Gross , Stefan Bader , Henrique de Moraes Holschuh , Yigal Korman , Konrad Rzeszutek Wilk , Luis Rodriguez , Christoph Hellwig , Matthew Wilcox * Andy Lutomirski wrote: > You answered the wrong question. :) I understand the point of the non-temporal > stores -- I don't understand the point of using non-temporal stores to *WB > memory*. I think we should be okay with having the kernel mapping use WT > instead. WB memory is write-through, but they are still fully cached for reads. So non-temporal instructions influence how the CPU will allocate (or not allocate) WT cache lines. Thanks, Ingo -- 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