Re: Using pmem from a driver exposing a memory mapping (mmap) to userspace

2015-04-29 Thread Mathieu Desnoyers
- Original Message - > On 04/28/2015 06:35 PM, Mathieu Desnoyers wrote: > > Hi! > > > > I'm currently adaping lttng-modules to use DAX and pmem. > > It will allow LTTng buffers to be recovered after a kernel > > crash. I've moved pretty much all struct page pointers to > > page frame numbe

Re: Using pmem from a driver exposing a memory mapping (mmap) to userspace

2015-04-29 Thread Boaz Harrosh
On 04/28/2015 06:35 PM, Mathieu Desnoyers wrote: > Hi! > > I'm currently adaping lttng-modules to use DAX and pmem. > It will allow LTTng buffers to be recovered after a kernel > crash. I've moved pretty much all struct page pointers to > page frame numbers, as I remember being told that pmem does

Using pmem from a driver exposing a memory mapping (mmap) to userspace

2015-04-28 Thread Mathieu Desnoyers
Hi! I'm currently adaping lttng-modules to use DAX and pmem. It will allow LTTng buffers to be recovered after a kernel crash. I've moved pretty much all struct page pointers to page frame numbers, as I remember being told that pmem does not have struct page. Now I'm looking into adapting my mmap