Re: [PATCH v5 1/5] powerpc/mm: Implement set_memory() routines

2019-10-30 Thread Christophe Leroy
Le 30/10/2019 à 08:31, Russell Currey a écrit : The set_memory_{ro/rw/nx/x}() functions are required for STRICT_MODULE_RWX, and are generally useful primitives to have. This implementation is designed to be completely generic across powerpc's many MMUs. It's possible that this could be optim

[PATCH v5 1/5] powerpc/mm: Implement set_memory() routines

2019-10-30 Thread Russell Currey
The set_memory_{ro/rw/nx/x}() functions are required for STRICT_MODULE_RWX, and are generally useful primitives to have. This implementation is designed to be completely generic across powerpc's many MMUs. It's possible that this could be optimised to be faster for specific MMUs, but the focus is