linux/arch
Pavel Tatashin 2e3ca40f03 mm: relax deferred struct page requirements
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.

Link: http://lkml.kernel.org/r/20171117014601.31606-1-pasha.tatashin@oracle.com
Signed-off-by: Pavel Tatashin <pasha.tatashin@oracle.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>	[s390]
Reviewed-by: Khalid Aziz <khalid.aziz@oracle.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Steven Sistare <steven.sistare@oracle.com>
Cc: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Reza Arbab <arbab@linux.vnet.ibm.com>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2018-01-31 17:18:36 -08:00
..
alpha dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
arc dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
arm dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
arm64 dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
blackfin Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
c6x
cris dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
frv Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
h8300 dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
hexagon dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
ia64 dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
m32r m32r: remove abort() 2018-01-31 17:18:34 -08:00
m68k dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
metag Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2018-01-30 14:18:52 -08:00
microblaze dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
mips dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
mn10300 dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
nios2 dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
openrisc Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2018-01-30 14:18:52 -08:00
parisc dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
powerpc mm: relax deferred struct page requirements 2018-01-31 17:18:36 -08:00
riscv dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
s390 mm: relax deferred struct page requirements 2018-01-31 17:18:36 -08:00
score Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
sh Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2018-01-30 14:18:52 -08:00
sparc Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
tile dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
um Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-01-30 17:58:07 -08:00
unicore32 dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
x86 mm: relax deferred struct page requirements 2018-01-31 17:18:36 -08:00
xtensa dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00
.gitignore
Kconfig dma mapping changes for Linux 4.16: 2018-01-31 11:32:27 -08:00