Re: [v5 0/3] "Hotremove" persistent memory

2019-05-20 Thread David Hildenbrand
On 17.05.19 16:09, Pavel Tatashin wrote: >> >> I would think that ACPI hotplug would have a similar problem, but it does >> this: >> >> acpi_unbind_memory_blocks(info); >> __remove_memory(nid, info->start_addr, info->length); > > ACPI does have exactly the same pro

Re: [v5 0/3] "Hotremove" persistent memory

2019-05-17 Thread Pavel Tatashin
> > I would think that ACPI hotplug would have a similar problem, but it does > this: > > acpi_unbind_memory_blocks(info); > __remove_memory(nid, info->start_addr, info->length); ACPI does have exactly the same problem, so this is not a bug for this series, I will

Re: [v5 0/3] "Hotremove" persistent memory

2019-05-16 Thread David Hildenbrand
On 16.05.19 02:42, Dan Williams wrote: > On Wed, May 15, 2019 at 11:12 AM Pavel Tatashin > wrote: >> >>> Hi Pavel, >>> >>> I am working on adding this sort of a workflow into a new daxctl command >>> (daxctl-reconfigure-device)- this will allow changing the 'mode' of a >>> dax device to kmem, onli

Re: [v5 0/3] "Hotremove" persistent memory

2019-05-15 Thread Dan Williams
On Wed, May 15, 2019 at 11:12 AM Pavel Tatashin wrote: > > > Hi Pavel, > > > > I am working on adding this sort of a workflow into a new daxctl command > > (daxctl-reconfigure-device)- this will allow changing the 'mode' of a > > dax device to kmem, online the resulting memory, and with your patch

Re: [v5 0/3] "Hotremove" persistent memory

2019-05-15 Thread Pavel Tatashin
> Hi Pavel, > > I am working on adding this sort of a workflow into a new daxctl command > (daxctl-reconfigure-device)- this will allow changing the 'mode' of a > dax device to kmem, online the resulting memory, and with your patches, > also attempt to offline the memory, and change back to device-

Re: [v5 0/3] "Hotremove" persistent memory

2019-05-02 Thread Verma, Vishal L
On Thu, 2019-05-02 at 14:43 -0400, Pavel Tatashin wrote: > The series of operations look like this: > > 1. After boot restore /dev/pmem0 to ramdisk to be consumed by apps. >and free ramdisk. > 2. Convert raw pmem0 to devdax >ndctl create-namespace --mode devdax --map mem -e namespace0.0 -f