OSDN Git Service

Documentation/x86/64: Add documentation for GS/FS addressing mode
authorThomas Gleixner <tglx@linutronix.de>
Thu, 13 Jun 2019 19:04:24 +0000 (22:04 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 22 Jun 2019 09:38:57 +0000 (11:38 +0200)
commit2c7b5ac5d5a93c4b0557293d06c6677f765081a6
treeb14e2146688718f897155b275cd3a06464481e0b
parentf987c955c74501c9295a81372c7d363cbe07c8a6
Documentation/x86/64: Add documentation for GS/FS addressing mode

Explain how the GS/FS based addressing can be utilized in user space
applications along with the differences between the generic prctl() based
GS/FS base control and the FSGSBASE version available on newer CPUs.

Originally-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: "Bae, Chang Seok" <chang.seok.bae@intel.com>
Cc: Andy Lutomirski <luto@kernel.org>,
Cc: H . Peter Anvin <hpa@zytor.com>
Cc: "Shankar, Ravi V" <ravi.v.shankar@intel.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Link: https://lkml.kernel.org/r/alpine.DEB.2.21.1906132246310.1791@nanos.tec.linutronix.de
Documentation/x86/x86_64/fsgs.rst [new file with mode: 0644]
Documentation/x86/x86_64/index.rst