Re: [PATCH v7 18/18] x86/fsgsbase/64: Add documentation for FSGSBASE

From: Thomas Gleixner
Date: Sun Jun 16 2019 - 04:45:03 EST


On Sun, 16 Jun 2019, Bae, Chang Seok wrote:
> On Jun 14, 2019, at 13:07, Bae, Chang Seok <chang.seok.bae@xxxxxxxxx<mailto:chang.seok.bae@xxxxxxxxx>> wrote:
>
>
> On Jun 13, 2019, at 23:54, Thomas Gleixner <tglx@xxxxxxxxxxxxx<mailto:tglx@xxxxxxxxxxxxx>> wrote:
>
> +The GS segment has no common use and can be used freely by
> +applications. There is no storage class specifier similar to __thread which
> +would cause the compiler to use GS based addressing modes. Newer versions
> +of GCC and Clang support GS based addressing via address space identifiers.
> +
>
> â
>
> +
> +Clang does not provide these address space identifiers, but it provides
> +an attribute based mechanism:
> +
>
> These two sentences seem to conflict with each other; Clang needs to be clarified
> above.
>
> Thanks for the write-up. Just preparing v8 right now. Will send out shortly.

Please dont. Send me a delta patch against the documentation. I have queued
all the other patches already internally. I did not push it out because I
wanted to have proper docs.

Thanks,

tglx