]> www.infradead.org Git - users/jedix/linux-maple.git/commit
powerpc/8xx: Preallocate execmem page tables
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 20 Aug 2024 17:23:51 +0000 (19:23 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 30 Aug 2024 11:29:53 +0000 (21:29 +1000)
commit16a71c045186a11c1c743934e330de78162b86dd
tree97573066f9238da54ed165c1b6a9942f1354babd
parentc5eec4df25c34f4bee8c757ed157f5d96eaba554
powerpc/8xx: Preallocate execmem page tables

Preallocate execmem page tables before creating new PGDs so that
all PGD entries related to execmem can be copied in pgd_alloc().

On 8xx there are 32 Mbytes for execmem by default so this will use
32 kbytes.

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