]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32s: Only leave NX unset on segments used for modules
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Mon, 29 Jun 2020 11:15:22 +0000 (11:15 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 26 Jul 2020 14:01:30 +0000 (00:01 +1000)
commit675b54f4f4acc46df993ebb50cced4b400e477e8
tree0a89eddbc6ced126e2ed7d05cad0b81d8c65b586
parent7bc3087f077714ddead3544139988bf7226e3146
powerpc/32s: Only leave NX unset on segments used for modules

Instead of leaving NX unset on all segments above the start
of vmalloc space, only leave NX unset on segments used for
modules.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/7172c0f5253419315e434a1816ee3d6ed6505bc0.1593428200.git.christophe.leroy@csgroup.eu
arch/powerpc/mm/book3s32/mmu.c