Re: [RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-08 Thread Dan Williams
On Sun, Jul 8, 2018 at 10:17 PM, Aneesh Kumar K.V wrote: > On 07/07/2018 11:06 PM, Dan Williams wrote: [..] > What we need is the ability to run with fsdax on hypervisor other than KVM. That sounds like a production use case? How can it be actual persistent memory if the kernel is picking the phy

Re: [RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-08 Thread Aneesh Kumar K.V
On 07/07/2018 11:06 PM, Dan Williams wrote: On Sat, Jul 7, 2018 at 12:15 AM, Oliver wrote: On Sat, Jul 7, 2018 at 5:38 AM, Dan Williams wrote: On Fri, Jul 6, 2018 at 1:29 AM, Aneesh Kumar K.V wrote: This patch steal system RAM and use that to emulate pmem device using the e820 platform driv

Re: [RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-08 Thread Aneesh Kumar K.V
On 07/07/2018 01:20 PM, Oliver wrote: On Fri, Jul 6, 2018 at 6:29 PM, Aneesh Kumar K.V wrote: This patch steal system RAM and use that to emulate pmem device using the e820 platform driver. This adds a new kernel command line 'pmemmap' which takes the format to allocate memory early in the bo

Re: [RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-07 Thread Dan Williams
On Sat, Jul 7, 2018 at 12:15 AM, Oliver wrote: > On Sat, Jul 7, 2018 at 5:38 AM, Dan Williams wrote: >> On Fri, Jul 6, 2018 at 1:29 AM, Aneesh Kumar K.V >> wrote: >>> This patch steal system RAM and use that to emulate pmem device using the >>> e820 platform driver. >>> >>> This adds a new kerne

Re: [RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-07 Thread Oliver
On Fri, Jul 6, 2018 at 6:29 PM, Aneesh Kumar K.V wrote: > This patch steal system RAM and use that to emulate pmem device using the > e820 platform driver. > > This adds a new kernel command line 'pmemmap' which takes the format > > to allocate memory early in the boot. This memory is later regi

Re: [RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-07 Thread Oliver
On Sat, Jul 7, 2018 at 5:38 AM, Dan Williams wrote: > On Fri, Jul 6, 2018 at 1:29 AM, Aneesh Kumar K.V > wrote: >> This patch steal system RAM and use that to emulate pmem device using the >> e820 platform driver. >> >> This adds a new kernel command line 'pmemmap' which takes the format >> >>

Re: [RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-06 Thread Dan Williams
On Fri, Jul 6, 2018 at 1:29 AM, Aneesh Kumar K.V wrote: > This patch steal system RAM and use that to emulate pmem device using the > e820 platform driver. > > This adds a new kernel command line 'pmemmap' which takes the format > > to allocate memory early in the boot. This memory is later regi

Re: [RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-06 Thread Randy Dunlap
On 07/06/18 01:29, Aneesh Kumar K.V wrote: > This patch steal system RAM and use that to emulate pmem device using the > e820 platform driver. > > This adds a new kernel command line 'pmemmap' which takes the format > > to allocate memory early in the boot. This memory is later registered as > p

[RFC PATCH 2/2] mm/pmem: Add memblock based e820 platform driver

2018-07-06 Thread Aneesh Kumar K.V
This patch steal system RAM and use that to emulate pmem device using the e820 platform driver. This adds a new kernel command line 'pmemmap' which takes the format to allocate memory early in the boot. This memory is later registered as persistent memory range. Based on original patch from Oliv