On 7/6/20 12:49 PM, Michael Ellerman wrote:
"Aneesh Kumar K.V" <aneesh.ku...@linux.ibm.com> writes:
Convert the bool to a static key like pkey_disabled.

I'm not convinced this is worth the added complexity of a static key.

It's not used in any performance critical paths, except for context
switch, but that's already guarded by:

        if (old_thread->iamr != new_thread->iamr)

Which should always be false on machines which don't have the execute
key enabled.


Ok will drop the patch.

-aneesh

Reply via email to