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


Groups > linux.kernel > #1655247

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

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [RFC PATCH] mm, memory_hotplug: support movable_node for hotplugable nodes
Date 2017-06-01 17:40 +0200
Message-ID <tNAmB-4kR-9@gated-at.bofh.it> (permalink)
References <tNxoK-2tN-3@gated-at.bofh.it> <tNz7c-3D6-35@gated-at.bofh.it> <tNzgS-3Gr-17@gated-at.bofh.it> <tNA3g-4do-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu 01-06-17 10:19:36, Reza Arbab wrote:
> On Thu, Jun 01, 2017 at 04:22:28PM +0200, Michal Hocko wrote:
> >On Thu 01-06-17 16:11:55, Vlastimil Babka wrote:
> >>Simple should work, hopefully.
> >>- if memory is hotplugged, it's obviously hotplugable, so we don't have
> >>to rely on BIOS description.
> >
> >Not sure I understand. We do not have any information about the hotplug
> >status at the time we do online.
> 
> 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?

> He's saying that since the memory was added after boot, it is by definition
> hotpluggable. There's no need to check for that marking/description.

Yes, but we do not know whether we are onlining memblocks from a boot
time numa node or a fresh one which has been hotadded.
-- 
Michal Hocko
SUSE Labs

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