diff options
author | truckman <truckman@FreeBSD.org> | 2003-07-16 01:00:39 +0000 |
---|---|---|
committer | truckman <truckman@FreeBSD.org> | 2003-07-16 01:00:39 +0000 |
commit | 68ed1d12ac6cbb18345fb3bcdb41d6807907da13 (patch) | |
tree | 38927c46605f096de1a9a940591f96914a47bd82 /sys/kern/kern_mtxpool.c | |
parent | e611c416998a4d947f82577fc6d0507a5dbd56f0 (diff) | |
download | FreeBSD-src-68ed1d12ac6cbb18345fb3bcdb41d6807907da13.zip FreeBSD-src-68ed1d12ac6cbb18345fb3bcdb41d6807907da13.tar.gz |
Rearrange the SYSINIT order to call lockmgr_init() earlier so that
the runtime lockmgr initialization code in lockinit() can be eliminated.
Reviewed by: jhb
Diffstat (limited to 'sys/kern/kern_mtxpool.c')
-rw-r--r-- | sys/kern/kern_mtxpool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_mtxpool.c b/sys/kern/kern_mtxpool.c index 93ce655..468cdb1 100644 --- a/sys/kern/kern_mtxpool.c +++ b/sys/kern/kern_mtxpool.c @@ -186,7 +186,7 @@ mtx_pool_alloc(struct mtx_pool *pool) * The lockbuilder pool must be initialized early because the lockmgr * and sx locks depend on it. The sx locks are used in the kernel * memory allocator. The lockmgr subsystem is initialized by - * SYSINIT(..., SI_SUB_LOCK, ...). + * SYSINIT(..., SI_SUB_LOCKMGR, ...). * * We can't call MALLOC() to dynamically allocate the sleep pool * until after kmeminit() has been called, which is done by |