From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Hansen Subject: Re: [PATCH] dax, pmem: add support for msync Date: Wed, 2 Sep 2015 09:19:07 -0700 Message-ID: <55E7217B.2090803@linux.intel.com> References: <1441047584-14664-1-git-send-email-ross.zwisler@linux.intel.com> <20150831233803.GO3902@dastard> <20150901070608.GA5482@lst.de> <20150901222120.GQ3902@dastard> <20150902031945.GA8916@linux.intel.com> <20150902051711.GS3902@dastard> <55E6CF15.4070105@plexistor.com> <55E70653.4090302@linux.intel.com> <55E7132E.104@plexistor.com> <55E7184B.3020104@linux.intel.com> <55E71D00.4050103@plexistor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit To: Boaz Harrosh , Dave Chinner , Ross Zwisler , Christoph Hellwig , linux-kernel@vger.kernel.org, Alexander Viro , Andrew Morton , "H. Peter Anvin" , Hugh Dickins , Ingo Molnar , "Kirill A. Shutemov" , linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-nvdimm@lists.01.org, Matthew Wilcox , Peter Zijlstra , Thomas Gleixner , x86@kernel.org Return-path: Received: from mga11.intel.com ([192.55.52.93]:3594 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751268AbbIBQTI (ORCPT ); Wed, 2 Sep 2015 12:19:08 -0400 In-Reply-To: <55E71D00.4050103@plexistor.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 09/02/2015 09:00 AM, Boaz Harrosh wrote: >> > We are going to have 2-socket systems with 6TB of persistent memory in >> > them. I think it's important to design this mechanism so that it scales >> > to memory sizes like that and supports large mmap()s. >> > >> > I'm not sure the application you've seen thus far are very >> > representative of what we want to design for. >> > > We have a patch pending to introduce a new mmap flag that pmem aware > applications can set to eliminate any kind of flushing. MMAP_PMEM_AWARE. Great! Do you have a link so that I can review it and compare it to Ross's approach?