Re: [PATCH v2 1/2] mm/memory_hotplug: simplify calculation of number of pages in __remove_pages()

From: David Hildenbrand
Date: Sun Mar 29 2020 - 15:19:32 EST


On 28.02.20 10:58, David Hildenbrand wrote:
> In commit 52fb87c81f11 ("mm/memory_hotplug: cleanup __remove_pages()"),
> we cleaned up __remove_pages(), and introduced a shorter variant to
> calculate the number of pages to the next section boundary.
>
> Turns out we can make this calculation easier to read. We always want to
> have the number of pages (> 0) to the next section boundary, starting from
> the current pfn.

@Andrew

This patch seems to have another of these weird MIME crap in it. (my
other patches in -next seem to be fine)

See

https://lore.kernel.org/linux-mm/20200228095819.10750-2-david@xxxxxxxxxx/raw

"
... fro=
m"

should simply be "... from"

--
Thanks,

David / dhildenb