diff options
author | alc <alc@FreeBSD.org> | 2012-06-27 03:45:25 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2012-06-27 03:45:25 +0000 |
commit | c5e6daff9d76cdf85b52505450df8b30e70c238e (patch) | |
tree | 6e4d62a3871ea00945f2e5d0fc1b3aeed7240f1f /sys/vm/vm_map.c | |
parent | ac802785353aeea633a835066d573014634093b0 (diff) | |
download | FreeBSD-src-c5e6daff9d76cdf85b52505450df8b30e70c238e.zip FreeBSD-src-c5e6daff9d76cdf85b52505450df8b30e70c238e.tar.gz |
Add new pmap layer locks to the predefined lock order. Change the names
of a few existing VM locks to follow a consistent naming scheme.
Diffstat (limited to 'sys/vm/vm_map.c')
-rw-r--r-- | sys/vm/vm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 5cb1fef..aefed47 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -241,8 +241,8 @@ vm_map_zinit(void *mem, int size, int flags) map = (vm_map_t)mem; map->nentries = 0; map->size = 0; - mtx_init(&map->system_mtx, "system map", NULL, MTX_DEF | MTX_DUPOK); - sx_init(&map->lock, "user map"); + mtx_init(&map->system_mtx, "vm map (system)", NULL, MTX_DEF | MTX_DUPOK); + sx_init(&map->lock, "vm map (user)"); return (0); } |