Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1230906 > unrolled thread

Re: [PATCH 11/26] x86, pkeys: add functions for set/fetch PKRU

Started byThomas Gleixner <tglx@linutronix.de>
First post2015-09-22 22:10 +0200
Last post2015-09-22 22:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 11/26] x86, pkeys: add functions for set/fetch PKRU Thomas Gleixner <tglx@linutronix.de> - 2015-09-22 22:10 +0200
    Re: [PATCH 11/26] x86, pkeys: add functions for set/fetch PKRU Dave Hansen <dave@sr71.net> - 2015-09-22 22:30 +0200

#1230906 — Re: [PATCH 11/26] x86, pkeys: add functions for set/fetch PKRU

FromThomas Gleixner <tglx@linutronix.de>
Date2015-09-22 22:10 +0200
SubjectRe: [PATCH 11/26] x86, pkeys: add functions for set/fetch PKRU
Message-ID<qbC2Z-7gK-7@gated-at.bofh.it>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1230921

FromDave Hansen <dave@sr71.net>
Date2015-09-22 22:30 +0200
Message-ID<qbCmm-7Dv-13@gated-at.bofh.it>
In reply to#1230906
On 09/22/2015 01:05 PM, Thomas Gleixner wrote:
> 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.

I was actually using it in a few places, but it fell out of later
versions of the patch.  I'm happy to kill it.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web