Re: [Xen-devel] [PATCH v4 1/2] memory-hotplug: add automatic onlining policy for the newly added memory

2016-01-15 Thread Vitaly Kuznetsov
David Rientjes writes: > On Thu, 14 Jan 2016, Vitaly Kuznetsov wrote: > >> > My suggestion is to just simply document that auto-onlining can add the >> > memory but fail to online it and the failure is silent to userspace. If >> > userspace cares, it can check the online

Re: [Xen-devel] [PATCH v4 1/2] memory-hotplug: add automatic onlining policy for the newly added memory

2016-01-14 Thread Vitaly Kuznetsov
David Rientjes writes: > On Wed, 13 Jan 2016, Vitaly Kuznetsov wrote: > >> >> diff --git a/Documentation/memory-hotplug.txt >> >> b/Documentation/memory-hotplug.txt >> >> index ce2cfcf..ceaf40c 100644 >> >> --- a/Documentation/memory-hotplug.txt >> >> +++

Re: [Xen-devel] [PATCH v4 1/2] memory-hotplug: add automatic onlining policy for the newly added memory

2016-01-13 Thread Daniel Kiper
On Tue, Jan 12, 2016 at 05:56:16PM +0100, Vitaly Kuznetsov wrote: > Currently, all newly added memory blocks remain in 'offline' state unless > someone onlines them, some linux distributions carry special udev rules > like: > > SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", >

Re: [Xen-devel] [PATCH v4 1/2] memory-hotplug: add automatic onlining policy for the newly added memory

2016-01-13 Thread Vitaly Kuznetsov
David Rientjes writes: > On Tue, 12 Jan 2016, Vitaly Kuznetsov wrote: > >> diff --git a/Documentation/memory-hotplug.txt >> b/Documentation/memory-hotplug.txt >> index ce2cfcf..ceaf40c 100644 >> --- a/Documentation/memory-hotplug.txt >> +++

Re: [Xen-devel] [PATCH v4 1/2] memory-hotplug: add automatic onlining policy for the newly added memory

2016-01-13 Thread David Rientjes
On Wed, 13 Jan 2016, Vitaly Kuznetsov wrote: > >> diff --git a/Documentation/memory-hotplug.txt > >> b/Documentation/memory-hotplug.txt > >> index ce2cfcf..ceaf40c 100644 > >> --- a/Documentation/memory-hotplug.txt > >> +++ b/Documentation/memory-hotplug.txt > >> @@ -254,12 +254,23 @@ If the

[Xen-devel] [PATCH v4 1/2] memory-hotplug: add automatic onlining policy for the newly added memory

2016-01-12 Thread Vitaly Kuznetsov
Currently, all newly added memory blocks remain in 'offline' state unless someone onlines them, some linux distributions carry special udev rules like: SUBSYSTEM=="memory", ACTION=="add", ATTR{state}=="offline", ATTR{state}="online" to make this happen automatically. This is not a great solution