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
This commit is contained in:
Konstantin Belousov 2017-10-05 11:34:51 +00:00
parent 08cd1f11bd
commit 843d5752f5

View File

@ -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