Re: [PATCH v6 1/7] powerpc/mm: Implement set_memory() routines

2020-03-30 Thread Russell Currey
On Wed, 2020-03-11 at 17:03 +1100, Daniel Axtens wrote: > Russell Currey writes: > > > 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'

Re: [PATCH v6 1/7] powerpc/mm: Implement set_memory() routines

2020-03-10 Thread Daniel Axtens
Russell Currey writes: > 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 f

[PATCH v6 1/7] powerpc/mm: Implement set_memory() routines

2020-03-09 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