Thread (21 messages) 21 messages, 4 authors, 2019-11-11

Re: [PATCH v4 00/13] mm: remove __ARCH_HAS_4LEVEL_HACK

From: Anatoly Pugachev <hidden>
Date: 2019-11-05 14:58:37
Also in: linux-alpha, linux-arch, linux-m68k, linux-mm, linux-um, lkml, sparclinux

On Tue, Nov 5, 2019 at 10:16 AM Mike Rapoport [off-list ref] wrote:
From: Mike Rapoport <redacted>

Hi,

These patches convert several architectures to use page table folding and
remove __ARCH_HAS_4LEVEL_HACK along with include/asm-generic/4level-fixup.h.

For the nommu configurations the folding is already implemented by the
generic code so the only change was to use the appropriate header file.

As for the rest, the changes are mostly about mechanical replacement of
pgd accessors with pud/pmd ones and the addition of higher levels to page
table traversals.

With Vineet's patches from "elide extraneous generated code for folded
p4d/pud/pmd" series [1] there is a small shrink of the kernel size of about
-0.01% for the defconfig builds.

The set is boot-tested on UML, qemu-{alpha,sparc} and aranym.

v4 changes:
* m68k: fix sun3x_defconfig build and reorder ifdefs as per Geert's
  suggestion

Mike,

tested your patch series on a debian sid/unstable sparc64 LDOM running
on a T5-2 sparc server - it boots for me.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help