Re: [PATCH v9 00/51] powerpc, mm: Memory Protection Keys

From: Dave Hansen
Date: Tue Nov 07 2017 - 17:47:20 EST


On 11/07/2017 02:39 PM, Ram Pai wrote:
>
> As per the current semantics of sys_pkey_free(); the way I understand it,
> the calling thread is saying disassociate me from this key.

No. It is saying: "this *process* no longer has any uses of this key,
it can be reused".