linux_dsm_epyc7002/arch
Mike Rapoport c2471e79a7 unicore32: switch to generic version of pte allocation
Replace __get_free_page() and alloc_pages() calls with the generic
__pte_alloc_one_kernel() and __pte_alloc_one().

There is no functional change for the kernel PTE allocation.

The difference for the user PTEs, is that the clear_pte_table() is now
called after pgtable_page_ctor() and the addition of __GFP_ACCOUNT to the
GFP flags.

The pte_free() and pte_free_kernel() versions are identical to the generic
ones and can be simply dropped.

Link: http://lkml.kernel.org/r/1557296232-15361-15-git-send-email-rppt@linux.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Greentime Hu <green.hu@gmail.com>
Cc: Guan Xuetao <gxt@pku.edu.cn>
Cc: Guo Ren <guoren@kernel.org>
Cc: Helge Deller <deller@gmx.de>
Cc: Ley Foon Tan <lftan@altera.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Matt Turner <mattst88@gmail.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Paul Burton <paul.burton@mips.com>
Cc: Richard Kuo <rkuo@codeaurora.org>
Cc: Richard Weinberger <richard@nod.at>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Sam Creasey <sammy@sammy.net>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Vincent Chen <deanbo422@gmail.com>
Cc: Albert Ou <aou@eecs.berkeley.edu>
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Cc: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2019-07-12 11:05:46 -07:00
..
alpha alpha: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
arc It's been a relatively busy cycle for docs: 2019-07-09 12:34:26 -07:00
arm arm: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
arm64 arm64: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
c6x Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2019-07-10 21:42:03 -07:00
csky csky: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
h8300 Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2019-07-10 21:42:03 -07:00
hexagon Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2019-07-08 21:48:15 -07:00
ia64 pidfd-updates-v5.3 2019-07-10 22:17:21 -07:00
m68k m68k: sun3: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
microblaze clone3-v5.3 2019-07-11 10:09:44 -07:00
mips mips: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
nds32 nds32: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
nios2 nios2: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
openrisc It's been a relatively busy cycle for docs: 2019-07-09 12:34:26 -07:00
parisc parisc: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
powerpc mm: move the powerpc hugepd code to mm/gup.c 2019-07-12 11:05:45 -07:00
riscv riscv: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
s390 mm: rename CONFIG_HAVE_GENERIC_GUP to CONFIG_HAVE_FAST_GUP 2019-07-12 11:05:44 -07:00
sh mm: rename CONFIG_HAVE_GENERIC_GUP to CONFIG_HAVE_FAST_GUP 2019-07-12 11:05:44 -07:00
sparc mm: rename CONFIG_HAVE_GENERIC_GUP to CONFIG_HAVE_FAST_GUP 2019-07-12 11:05:44 -07:00
um um: switch to generic version of pte allocation 2019-07-12 11:05:45 -07:00
unicore32 unicore32: switch to generic version of pte allocation 2019-07-12 11:05:46 -07:00
x86 asm-generic, x86: introduce generic pte_{alloc,free}_one[_kernel] 2019-07-12 11:05:45 -07:00
xtensa clone3-v5.3 2019-07-11 10:09:44 -07:00
.gitignore
Kconfig Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-16 11:00:20 -07:00