linux/arch
Mike Rapoport 7278914ca1 xtensa: switch to generic version of pte allocation
xtensa clears PTEs during allocation of the page tables and pte_clear()
sets the PTE to a non-zero value.  Splitting ptes_clear() helper out of
pte_alloc_one() and pte_alloc_one_kernel() allows reuse of base generic
allocation methods (__pte_alloc_one() and __pte_alloc_one_kernel()) and
the common GFP mask for page table allocations.

The pte_free() and pte_free_kernel() implementations on xtensa are
identical to the generic ones and can be dropped.

[jcmvbkbc@gmail.com: xtensa: fix closing endif comment]
  Link: http://lkml.kernel.org/r/20200721024751.1257-1-jcmvbkbc@gmail.com

Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Pekka Enberg <penberg@kernel.org>
Cc: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Joerg Roedel <jroedel@suse.de>
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Satheesh Rajendran <sathnaga@linux.vnet.ibm.com>
Cc: Stafford Horne <shorne@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Matthew Wilcox <willy@infradead.org>
Link: http://lkml.kernel.org/r/20200627143453.31835-4-rppt@kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-08-07 11:33:26 -07:00
..
alpha mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
arc mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
arm mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
arm64 mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
c6x Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
csky mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
h8300 fork-v5.9 2020-08-04 14:47:45 -07:00
hexagon fork-v5.9 2020-08-04 14:47:45 -07:00
ia64 mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
m68k mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
microblaze mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
mips mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
nds32 arch: rename copy_thread_tls() back to copy_thread() 2020-07-04 23:41:37 +02:00
nios2 Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
openrisc opeinrisc: switch to generic version of pte allocation 2020-08-07 11:33:26 -07:00
parisc mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
powerpc mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
riscv mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
s390 mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
sh mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
sparc mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
um TTY/Serial patches for 5.9-rc1 2020-08-06 14:56:11 -07:00
x86 mm: remove unneeded includes of <asm/pgalloc.h> 2020-08-07 11:33:26 -07:00
xtensa xtensa: switch to generic version of pte allocation 2020-08-07 11:33:26 -07:00
.gitignore
Kconfig It's been a busy cycle for documentation - hopefully the busiest for a 2020-08-04 22:47:54 -07:00