Re: [PATCH v1] mm: relax deferred struct page requirements

From: Khalid Aziz
Date: Tue Nov 21 2017 - 09:49:51 EST


On Thu, 2017-11-16 at 20:46 -0500, Pavel Tatashin wrote:
> There is no need to have ARCH_SUPPORTS_DEFERRED_STRUCT_PAGE_INIT,
> as all the page initialization code is in common code.
>
> Also, there is no need to depend on MEMORY_HOTPLUG, as initialization
> code
> does not really use hotplug memory functionality. So, we can remove
> this
> requirement as well.
>
> This patch allows to use deferred struct page initialization on all
> platforms with memblock allocator.
>
> Tested on x86, arm64, and sparc. Also, verified that code compiles on
> PPC with CONFIG_MEMORY_HOTPLUG disabled.
>
> Signed-off-by: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>
> ---
> Âarch/powerpc/Kconfig | 1 -
> Âarch/s390/KconfigÂÂÂÂ| 1 -
> Âarch/x86/KconfigÂÂÂÂÂ| 1 -
> Âmm/KconfigÂÂÂÂÂÂÂÂÂÂÂ| 7 +------
> Â4 files changed, 1 insertion(+), 9 deletions(-)
>
>

Looks reasonable to me.

Reviewed-by: Khalid Aziz <khalid.aziz@xxxxxxxxxx>