Re: [PATCH 5/9] x86: Add documentation for rd/wr fs/gs base

From: Valdis . Kletnieks
Date: Wed Mar 23 2016 - 15:15:16 EST


On Mon, 21 Mar 2016 09:16:05 -0700, Andi Kleen said:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> v2: Minor updates to documentation requested in review.

> +In addition the kernel needs to explicitly enable these instructions, as it
> +may otherwise not correctly context switch the state. Newer Linux
> +kernels enable this. When the kernel did not enable the instruction
> +they will fault with an #UD exception.

Looks OK for now, since the code hasn't actually landed. However, once
we know for sure what release, we probably want to replace "Newer" with
"4.N or later" or something - particularly if the man-pages project will
be using this as source material.

Attachment: pgp6MW5VKVJD_.pgp
Description: PGP signature