On Wed, Apr 15, 2015 at 1:45 AM, Ingo Molnar <mingo(a)kernel.org> wrote:
* Dan Williams <dan.j.williams(a)intel.com> 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 .
> : https://lwn.net/Articles/636968/
(Is there a Git URL where I could take a look at these patches?)
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