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


Groups > linux.kernel > #1627208 > unrolled thread

Re: [PATCH 7/9] mm, memory_hotplug: replace for_device by want_memblock in arch_add_memory

Started byVlastimil Babka <vbabka@suse.cz>
First post2017-04-20 10:40 +0200
Last post2017-04-20 10:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 7/9] mm, memory_hotplug: replace for_device by  want_memblock in arch_add_memory Vlastimil Babka <vbabka@suse.cz> - 2017-04-20 10:40 +0200

#1627208 — Re: [PATCH 7/9] mm, memory_hotplug: replace for_device by want_memblock in arch_add_memory

FromVlastimil Babka <vbabka@suse.cz>
Date2017-04-20 10:40 +0200
SubjectRe: [PATCH 7/9] mm, memory_hotplug: replace for_device by want_memblock in arch_add_memory
Message-ID<tyfN8-6Do-21@gated-at.bofh.it>
On 04/10/2017 01:03 PM, Michal Hocko wrote:
> From: Michal Hocko <mhocko@suse.com>
> 
> arch_add_memory gets for_device argument which then controls whether we
> want to create memblocks for created memory sections. Simplify the logic
> by telling whether we want memblocks directly rather than going through
> pointless negation. This also makes the api easier to understand because
> it is clear what we want rather than nothing telling for_device which
> can mean anything.
> 
> This shouldn't introduce any functional change.
> 
> Cc: Dan Williams <dan.j.williams@gmail.com>
> Signed-off-by: Michal Hocko <mhocko@suse.com>

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web