summaryrefslogtreecommitdiffstats
path: root/sys/amd64
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2016-05-10 09:58:51 +0000
committerkib <kib@FreeBSD.org>2016-05-10 09:58:51 +0000
commit05241d701e3d13e5867ce1978c2977f8ea46b4e5 (patch)
tree20265e19f301ff756a39867975703b8168de6a16 /sys/amd64
parent8e6e54de641f300c70302f954c7853f0f46616a9 (diff)
downloadFreeBSD-src-05241d701e3d13e5867ce1978c2977f8ea46b4e5.zip
FreeBSD-src-05241d701e3d13e5867ce1978c2977f8ea46b4e5.tar.gz
Add locking annotations to amd64 struct md_page members.
Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week
Diffstat (limited to 'sys/amd64')
-rw-r--r--sys/amd64/include/pmap.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/amd64/include/pmap.h b/sys/amd64/include/pmap.h
index 39df87a..90546f5 100644
--- a/sys/amd64/include/pmap.h
+++ b/sys/amd64/include/pmap.h
@@ -284,9 +284,13 @@ extern pt_entry_t pg_nx;
struct pv_entry;
struct pv_chunk;
+/*
+ * Locks
+ * (p) PV list lock
+ */
struct md_page {
- TAILQ_HEAD(,pv_entry) pv_list;
- int pv_gen;
+ TAILQ_HEAD(, pv_entry) pv_list; /* (p) */
+ int pv_gen; /* (p) */
int pat_mode;
};
OpenPOWER on IntegriCloud