lkml.org 
[lkml]   [2015]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 11/26] x86, pkeys: add functions for set/fetch PKRU
On Wed, 16 Sep 2015, Dave Hansen wrote:

>
> This adds the raw instructions to access PKRU as well as some
> accessor functions that correctly handle when the CPU does
> not support the instruction. We don't use them here, but
> we will use read_pkru() in the next patch.
>
> I do not see an immediate use for write_pkru(). But, we put it
> here for partity with its twin.

So that read_pkru() doesn't feel so lonely? I can't follow that logic.

Thanks,

tglx


\
 
 \ /
  Last update: 2015-09-22 22:21    [W:0.118 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site