[PATCH v2] powerpc: Default to enabling STRICT_KERNEL_RWX

Michael Ellerman mpe at ellerman.id.au
Tue Oct 10 21:35:30 AEDT 2017


Kees Cook <keescook at chromium.org> writes:

> When available, CONFIG_KERNEL_RWX should be default-enabled for PPC64.
> On PPC32, there is a performance trade-off.

Thanks for prodding us. But I think we need some more test cycles on
this before we make it the default.

As Balbir said it's currently not compatible with RELOCATABLE, which
means most folks aren't enabling it.

We also don't have good numbers on what the performance impact is on
64-bit. So although it almost certainly should be the default in future,
I'd still like us to have some idea of what it's costing us.

I'll try and get some perf numbers.

cheers


More information about the Linuxppc-dev mailing list