Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1655329

Re: [RFC PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes

From Reza Arbab <arbab@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes
Date 2017-06-01 18:10 +0200
Message-ID <tNAPE-4Ly-19@gated-at.bofh.it> (permalink)
References (2 earlier) <tNzgS-3Gr-17@gated-at.bofh.it> <tNA3g-4do-21@gated-at.bofh.it> <tNAmB-4kR-9@gated-at.bofh.it> <tNAwi-4oP-35@gated-at.bofh.it> <tNAFZ-4sr-47@gated-at.bofh.it>
Organization IBM Linux Technology Center

Show all headers | View raw


On Thu, Jun 01, 2017 at 05:52:31PM +0200, Michal Hocko wrote:
>On Thu 01-06-17 10:47:46, Reza Arbab wrote:
>> On Thu, Jun 01, 2017 at 05:38:38PM +0200, Michal Hocko wrote:
>> >On Thu 01-06-17 10:19:36, Reza Arbab wrote:
>> >>The x86 SRAT (or the dt, on other platforms) can describe memory as
>> >>hotpluggable. See memblock_mark_hotplug(). That's only for memory present at
>> >>boot, though.
>> >
>> >Yes but lose that information after the memblock is gone and numa fully
>> >initialized. Or can we reconstruct that somehow?
>>
>> I'm not sure you'd have to. At boot time, those markings are used to
>> determine the initial boundaries of ZONE_MOVABLE. So if you removed these
>> memblocks, then readded them, they would still be in ZONE_MOVABLE.
>
>Yes but that already works like that. I am nore interested in the case
>when the node goes away and it is added again. echo online > ... would
>result in a non-movable memory and that is the inconsistency I tried to
>call out in the changelog

My bad. Should have read closer.

-- 
Reza Arbab

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes Michal Hocko <mhocko@kernel.org> - 2017-06-01 14:30 +0200
  Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Vlastimil Babka <vbabka@suse.cz> - 2017-06-01 16:20 +0200
    Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Michal Hocko <mhocko@kernel.org> - 2017-06-01 16:30 +0200
      Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Reza Arbab <arbab@linux.vnet.ibm.com> - 2017-06-01 17:20 +0200
        Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Michal Hocko <mhocko@kernel.org> - 2017-06-01 17:40 +0200
          Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Reza Arbab <arbab@linux.vnet.ibm.com> - 2017-06-01 17:50 +0200
            Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Michal Hocko <mhocko@kernel.org> - 2017-06-01 18:00 +0200
              Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Reza Arbab <arbab@linux.vnet.ibm.com> - 2017-06-01 18:10 +0200
  Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Reza Arbab <arbab@linux.vnet.ibm.com> - 2017-06-01 18:10 +0200
    Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Michal Hocko <mhocko@kernel.org> - 2017-06-01 18:20 +0200
      Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Reza Arbab <arbab@linux.vnet.ibm.com> - 2017-06-01 18:50 +0200
  Re: [RFC PATCH] mm, memory_hotplug: support movable_node for  hotplugable nodes Michal Hocko <mhocko@kernel.org> - 2017-06-05 10:20 +0200

csiph-web