Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754757AbbDHTAk (ORCPT ); Wed, 8 Apr 2015 15:00:40 -0400 Received: from wind.enjellic.com ([76.10.64.91]:53113 "EHLO wind.enjellic.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753424AbbDHTAg (ORCPT ); Wed, 8 Apr 2015 15:00:36 -0400 X-Greylist: delayed 1614 seconds by postgrey-1.27 at vger.kernel.org; Wed, 08 Apr 2015 15:00:36 EDT Date: Wed, 8 Apr 2015 13:33:23 -0500 From: "Dr. Greg Wettstein" Message-Id: <201504081833.t38IXN4q003069@wind.enjellic.com> In-Reply-To: Christoph Hellwig "[PATCH 1/3] pmem: Initial version of persistent memory driver" (Mar 26, 9:32am) Reply-To: greg@enjellic.com X-Mailer: Mail User's Shell (7.2.6-ESD1.0 03/31/2012) To: Christoph Hellwig , linux-nvdimm@ml01.01.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [PATCH 1/3] pmem: Initial version of persistent memory driver Cc: ross.zwisler@linux.intel.com, axboe@kernel.dk, boaz@plexistor.com X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.3 (wind.enjellic.com [0.0.0.0]); Wed, 08 Apr 2015 13:33:24 -0500 (CDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2752 Lines: 65 On Mar 26, 9:32am, Christoph Hellwig wrote: } Subject: [PATCH 1/3] pmem: Initial version of persistent memory driver Hi, I hope the week has been going well for everyone. > From: Ross Zwisler > > PMEM is a new driver that presents a reserved range of memory as a > block device. This is useful for developing with NV-DIMMs, and > can be used with volatile memory as a development platform. We are interested in NV-DIMM's for a variety of reasons so the discussion on this has been interesting, particularly the 'correct' method of abstracting access. We needed a block device representation of memory for a number of projects we are working on and put the following together: ftp://ftp.enjellic.com/pub/hpd/hpd_driver-1.1beta.tar.gz Which has patches for 3.10 and 3.14. We built HPD on top of the hugepage kernel infrastructure. In our opinion, for whatever that is worth, there were a number of advantages to building this on a page based abstraction. Not the least of which was that NUMA awareness just naturally fell out of that model. While the above patches don't have support for 1GB pages in them that was also a straight forward exercise. I don't even pretend to understand all the complexities and mechanics of the E820/EFI memory mapping issues involved or the various issues with persistency triggers and such but mapping these through something like the hugepage infrastructure 'feels' like it would have a number of longterm advantages with respect to isolating implementations from the block layer interface. Have a good remainder of the week. Greg }-- End of excerpt from Christoph Hellwig As always, Dr. G.W. Wettstein, Ph.D. Enjellic Systems Development, LLC. 4206 N. 19th Ave. Specializing in information infra-structure Fargo, ND 58102 development. PH: 701-281-1686 FAX: 701-281-3949 EMAIL: greg@enjellic.com ------------------------------------------------------------------------------ "This patch causes a CONFIG_PREEMPT=y, CONFIG_PREEMPT_BKL=y, CONFIG_DEBUG_PREEMPT=y kernel on a ppc64 G5 to hang immediately after displaying the penguins, but apparently not before having set the hardware clock backwards 101 years." "After having carefully reviewed the above description and having decided that these effects were not a part of the patch's design intent I have temporarily set it aside, thanks." -- Andrew Morton linux-kernel -- 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/