diff options
author | kib <kib@FreeBSD.org> | 2016-06-23 09:02:50 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-06-23 09:02:50 +0000 |
commit | ad80fd1b7e861f795be0035ca0587752a5f3e198 (patch) | |
tree | ceaee4528d0b039a395dfc90a8b8a4f3cfe7aa8a /sys/kern/kern_thread.c | |
parent | fb5ba9bbbea3693ae0405513e00529037341fe4f (diff) | |
download | FreeBSD-src-ad80fd1b7e861f795be0035ca0587752a5f3e198.zip FreeBSD-src-ad80fd1b7e861f795be0035ca0587752a5f3e198.tar.gz |
MFC r301960:
Remove XXX comments from kern_thread.c.
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r-- | sys/kern/kern_thread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index 2a86360..2f8382c 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -424,7 +424,7 @@ thread_exit(void) * architecture specific resources that * would not be on a new untouched process. */ - cpu_thread_exit(td); /* XXXSMP */ + cpu_thread_exit(td); /* * The last thread is left attached to the process @@ -851,8 +851,8 @@ thread_suspend_check(int return_instead) /* * The only suspension in action is a * single-threading. Single threader need not stop. - * XXX Should be safe to access unlocked - * as it can only be set to be true by us. + * It is safe to access p->p_singlethread unlocked + * because it can only be set to our address by us. */ if (p->p_singlethread == td) return (0); /* Exempt from stopping. */ |