diff options
author | julian <julian@FreeBSD.org> | 2002-07-24 23:21:05 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2002-07-24 23:21:05 +0000 |
commit | 7e6f866aa8e76c60d6bc939bab8979a5c58f90b3 (patch) | |
tree | 0d67be6bc16fdfd806adda3eb61d6dee48acfdff /sys/amd64 | |
parent | cd6fa919eedca7a9881c0b7885e563a1adb1a36b (diff) | |
download | FreeBSD-src-7e6f866aa8e76c60d6bc939bab8979a5c58f90b3.zip FreeBSD-src-7e6f866aa8e76c60d6bc939bab8979a5c58f90b3.tar.gz |
Add some locking asserts and some comments
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/trap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 474b16d..8077d1f 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -271,6 +271,7 @@ trap(frame) /* * First check that we shouldn't just abort. * But check if we are the single thread first! + * XXX p_singlethread not locked, but should be safe. */ if ((p->p_flag & P_WEXIT) && (p->p_singlethread != td)) { PROC_LOCK(p); /* check if thisis really needed */ |