Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752747AbbDPEbj (ORCPT ); Thu, 16 Apr 2015 00:31:39 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:37576 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750856AbbDPEba (ORCPT ); Thu, 16 Apr 2015 00:31:30 -0400 MIME-Version: 1.0 In-Reply-To: <20150415084500.GB14700@gmail.com> References: <20150413093309.GA30219@gmail.com> <20150413093541.GA5147@lst.de> <20150413104531.GB30556@gmail.com> <20150413171805.GA14243@lst.de> <20150414124157.GA28544@gmail.com> <20150415084500.GB14700@gmail.com> Date: Wed, 15 Apr 2015 21:31:28 -0700 Message-ID: Subject: Re: [GIT PULL] PMEM driver for v4.1 From: Dan Williams To: Ingo Molnar Cc: Christoph Hellwig , Linus Torvalds , "linux-kernel@vger.kernel.org" , "linux-nvdimm@lists.01.org" , Ross Zwisler , Boaz Harrosh , Matthew Wilcox Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 31 On Wed, Apr 15, 2015 at 1:45 AM, Ingo Molnar wrote: > > * Dan Williams wrote: > >> > None of this gives me warm fuzzy feelings... >> > >> > ... has anyone explored the possibility of putting 'struct page' >> > into the pmem device itself, essentially using it as metadata? >> >> Yes, the impetus for proposing the pfn conversion of the block layer >> was the consideration that persistent memory may have less write >> endurance than DRAM. The kernel preserving write endurance >> exclusively for user data and the elimination of struct page >> overhead motivated the patchset [1]. >> >> [1]: https://lwn.net/Articles/636968/ > > (Is there a Git URL where I could take a look at these patches?) git://git.kernel.org/pub/scm/linux/kernel/git/djbw/nvdimm evacuate-struct-page-v1 Note that the bulk of the change is automated via Coccinelle. For v2, I'm looking at enabling a kmap primitive to operate on a pfn_t, kmap_pfn(). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/