Thread (49 messages) flat view 49 messages, 2 authors, 2020-07-07

Re: [PATCH v5 08/26] powerpc/book3s64/pkeys: Convert execute key support to static key

From: Aneesh Kumar K.V <hidden>
Date: 2020-07-06 08:50:20

On 7/6/20 12:49 PM, Michael Ellerman wrote:
"Aneesh Kumar K.V" [off-list ref] writes:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help