diff options
author | attilio <attilio@FreeBSD.org> | 2007-09-20 20:38:43 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2007-09-20 20:38:43 +0000 |
commit | e25b203061b232137e025efc647ecdab594849dd (patch) | |
tree | 1d744e733c0ca39255ebe0ac9fa96c43caf85983 /sys/kern/kern_thread.c | |
parent | 038cf0387bda3b49244f9b6841710beb211ddb19 (diff) | |
download | FreeBSD-src-e25b203061b232137e025efc647ecdab594849dd.zip FreeBSD-src-e25b203061b232137e025efc647ecdab594849dd.tar.gz |
Fix some entries in the locks static table of witness.
In particular:
- smp_tlb_mtx is no longer used, so it is axed.
- smp rendezvous lock isn't really a leaf spin-mutex. Its bad placement in
the table, however, has been the source of a false positive LOR reporting
with the dt_lock. However, smp rendezvous lock would have had sched_lock
there for older lock, so it wasn't still a leaf lock.
- allpmaps is only used in ia32 architecture, so it is inserted in the
appropriate stub.
Addictionally:
- kse_zombie_lock is no longer present, so its definition is axed out.
- zombie_lock doesn't need to have an exported symbol, so just let's it be
declared as static.
Tested by: kris
Approved by: jeff (mentor)
Approved by: re
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r-- | sys/kern/kern_thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c index a8a3581..b003257 100644 --- a/sys/kern/kern_thread.c +++ b/sys/kern/kern_thread.c @@ -70,7 +70,7 @@ int virtual_cpu; #endif TAILQ_HEAD(, thread) zombie_threads = TAILQ_HEAD_INITIALIZER(zombie_threads); -struct mtx zombie_lock; +static struct mtx zombie_lock; MTX_SYSINIT(zombie_lock, &zombie_lock, "zombie lock", MTX_SPIN); static void thread_zombie(struct thread *); |