kernel_optimize_test/arch/m68k
Peter Zijlstra ef9285f69f m68k: mm: Improve kernel_page_table()
With the PTE-tables now only being 256 bytes, allocating a full page
for them is a giant waste. Start by improving the boot time allocator
such that init_mm initialization will at least have optimal memory
density.

Much thanks to Will Deacon in help with debugging and ferreting out
lost information on these dusty MMUs.

Notes:

 - _TABLE_MASK is reduced to account for the shorter (256 byte)
   alignment of pte-tables, per the manual, table entries should only
   ever have state in the low 4 bits (Used,WrProt,Desc1,Desc0) so it is
   still longer than strictly required. (Thanks Will!!!)

 - Also use kernel_page_table() for the 020/030 zero_pgtable case and
   consequently remove the zero_pgtable init hack (will fix up later).

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Will Deacon <will@kernel.org>
Acked-by: Greg Ungerer <gerg@linux-m68k.org>
Tested-by: Michael Schmitz <schmitzmic@gmail.com>
Tested-by: Greg Ungerer <gerg@linux-m68k.org>
Link: https://lore.kernel.org/r/20200131125403.768263973@infradead.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
2020-02-10 10:57:48 +01:00
..
68000
amiga
apollo
atari m68k/atari: Convert Falcon IDE drivers to platform drivers 2019-11-18 10:18:59 +01:00
bvme6000
coldfire m68k/coldfire: Use CONFIG_PREEMPTION 2019-11-11 10:54:40 +10:00
configs Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2020-02-06 08:13:23 +00:00
emu netdev: pass the stuck queue to the timeout handler 2019-12-12 21:38:57 -08:00
fpsp040
hp300
ifpsp060
include m68k: mm: Improve kernel_page_table() 2020-02-10 10:57:48 +01:00
kernel proc: convert everything to "struct proc_ops" 2020-02-04 03:05:26 +00:00
lib
mac
math-emu
mm m68k: mm: Improve kernel_page_table() 2020-02-10 10:57:48 +01:00
mvme16x
mvme147
q40 m68k: q40: Fix info-leak in rtc_ioctl 2019-10-21 09:08:15 +02:00
sun3
sun3x arch/m68k/setup: Drop dummy_con initialization 2020-01-14 15:29:16 +01:00
tools/amiga
install.sh
Kconfig m68k: Implement copy_thread_tls() 2020-01-14 10:43:38 +01:00
Kconfig.bus
Kconfig.cpu
Kconfig.debug
Kconfig.devices
Kconfig.machine
Makefile