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:
parent
08cd1f11bd
commit
843d5752f5
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user