lkml.org 
[lkml]   [2018]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mm, memory_hotplug: Don't bail out in do_migrate_range prematurely
From
Date
On 11.12.18 11:20, Michal Hocko wrote:
> On Tue 11-12-18 10:35:53, David Hildenbrand wrote:
>> So somehow remember if we had issues with one page and instead of
>> reporting 0, report e.g. -EAGAIN?
>
> There is no consumer of the return value right now and it is not really
> clear whether we need one. I would just make do_migrate_range return void.
>

Well, this would allow optimizations like "No need to check if
everything has been migrated, I can tell you right away that it has been
done".

--

Thanks,

David / dhildenb

\
 
 \ /
  Last update: 2018-12-11 11:35    [W:0.043 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site