On Tue, May 7, 2019 at 9:31 AM Alexander Duyck alexander.duyck@gmail.com wrote:
Wasn't this patch reverted in Linus's tree for causing a regression on some platforms? If so I'm not sure we should pull this in as a candidate for stable should we, or am I missing something?
Good catch. It was reverted in commit 4aa9fc2a435a ("Revert "mm, memory_hotplug: initialize struct pages for the full memory section"").
We ended up with efad4e475c31 ("mm, memory_hotplug: is_mem_section_removable do not pass the end of a zone") instead (and possibly others - this was just from looking for commit messages that mentioned that reverted commit).
Linus