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


Groups > linux.kernel > #1660942

Re: [PATCH 1/4] mm, memory_hotplug: simplify empty node mask handling in new_node_page

From Vlastimil Babka <vbabka@suse.cz>
Newsgroups linux.kernel
Subject Re: [PATCH 1/4] mm, memory_hotplug: simplify empty node mask handling in new_node_page
Date 2017-06-08 10:40 +0200
Message-ID <tQ190-1Rp-17@gated-at.bofh.it> (permalink)
References <tQ0mB-1kN-3@gated-at.bofh.it> <tQ0mC-1kN-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/08/2017 09:45 AM, Michal Hocko wrote:
> From: Michal Hocko <mhocko@suse.com>
> 
> new_node_page tries to allocate the target page on a different NUMA node
> than the source page. This makes sense in most cases during the hotplug
> because we are likely to offline the whole numa node. But there are
> cases where there are no other nodes to fallback (e.g. when offlining
> parts of the only existing node) and we have to fallback to allocating
> from the source node. The current code does that but it can be
> simplified by checking the nmask and updating it before we even try to
> allocate rather than special casing it.
> 
> This patch shouldn't introduce any functional change.
> 
> Signed-off-by: Michal Hocko <mhocko@suse.com>

Acked-by: Vlastimil Babka <vbabka@suse.cz>

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


Thread

[PATCH 1/4] mm, memory_hotplug: simplify empty node mask handling in new_node_page Michal Hocko <mhocko@kernel.org> - 2017-06-08 09:50 +0200
  Re: [PATCH 1/4] mm, memory_hotplug: simplify empty node mask handling  in new_node_page Vlastimil Babka <vbabka@suse.cz> - 2017-06-08 10:40 +0200

csiph-web