[lkml]   [2017]   [Apr]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 7/9] mm, memory_hotplug: replace for_device by want_memblock in arch_add_memory
On 04/10/2017 01:03 PM, Michal Hocko wrote:
> From: Michal Hocko <>
> 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 <>
> Signed-off-by: Michal Hocko <>

Acked-by: Vlastimil Babka <>

 \ /
  Last update: 2017-04-20 10:31    [W:0.412 / U:4.136 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site