]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/603: Copy kernel PGD entries into all PGDIRs and preallocate execmem page...
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 20 Aug 2024 17:23:55 +0000 (19:23 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2024 11:29:54 +0000 (21:29 +1000)
commit82ef440f9a38a1fd7f4854397633a35af33840a5
tree1899480d8597fcb04325af51eb155c210e34ddff
parent2f2b9a3adc66e978a1248ffb38df8477e8e97c57
powerpc/603: Copy kernel PGD entries into all PGDIRs and preallocate execmem page tables

For the same reason as 8xx, copy kernel PGD entries into all
PGDIRs in pgd_alloc() and preallocate execmem page tables before
creating new PGDs so that all PGD entries related to execmem are
copied by pgd_alloc().

This will help reduce the fast-path in TLBmiss handlers.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/1a0d1feee07c4cf955f6a43a704c203e5c90fa53.1724173828.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/nohash/pgalloc.h
arch/powerpc/mm/mem.c