summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2012-06-27 03:45:25 +0000
committeralc <alc@FreeBSD.org>2012-06-27 03:45:25 +0000
commitc5e6daff9d76cdf85b52505450df8b30e70c238e (patch)
tree6e4d62a3871ea00945f2e5d0fc1b3aeed7240f1f /sys/amd64
parentac802785353aeea633a835066d573014634093b0 (diff)
downloadFreeBSD-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/amd64')
-rw-r--r--sys/amd64/amd64/pmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 2da212c..0f302d4 100644
--- a/sys/amd64/amd64/pmap.c
+++ b/sys/amd64/amd64/pmap.c
@@ -642,7 +642,7 @@ pmap_bootstrap(vm_paddr_t *firstaddr)
/*
* Initialize the global pv list lock.
*/
- rw_init(&pvh_global_lock, "pvh global");
+ rw_init(&pvh_global_lock, "pmap pv global");
/*
* Reserve some special page table entries/VA space for temporary
@@ -810,13 +810,13 @@ pmap_init(void)
/*
* Initialize the pv chunk list mutex.
*/
- mtx_init(&pv_chunks_mutex, "pv chunk list", NULL, MTX_DEF);
+ mtx_init(&pv_chunks_mutex, "pmap pv chunk list", NULL, MTX_DEF);
/*
* Initialize the pool of pv list locks.
*/
for (i = 0; i < NPV_LIST_LOCKS; i++)
- rw_init(&pv_list_locks[i], "pv list");
+ rw_init(&pv_list_locks[i], "pmap pv list");
/*
* Calculate the size of the pv head table for superpages.
OpenPOWER on IntegriCloud