svn commit: r324301 - head/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Thu Oct 5 11:34:52 UTC 2017
Author: kib
Date: Thu Oct 5 11:34:51 2017
New Revision: 324301
URL: https://svnweb.freebsd.org/changeset/base/324301
Log:
Update comment to note that we skip LDT reload for kthreads as well.
Noted by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
Modified:
head/sys/amd64/amd64/cpu_switch.S
Modified: head/sys/amd64/amd64/cpu_switch.S
==============================================================================
--- head/sys/amd64/amd64/cpu_switch.S Thu Oct 5 11:01:19 2017 (r324300)
+++ head/sys/amd64/amd64/cpu_switch.S Thu Oct 5 11:34:51 2017 (r324301)
@@ -172,7 +172,7 @@ sw1:
* to load up the rest of the next context.
*/
- /* Skip loading user fsbase/gsbase for kthreads */
+ /* Skip loading LDT and user fsbase/gsbase for kthreads */
testl $TDP_KTHREAD,TD_PFLAGS(%r12)
jnz do_kthread
More information about the svn-src-all
mailing list