diff options
author | kib <kib@FreeBSD.org> | 2016-05-10 09:58:51 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-05-10 09:58:51 +0000 |
commit | 05241d701e3d13e5867ce1978c2977f8ea46b4e5 (patch) | |
tree | 20265e19f301ff756a39867975703b8168de6a16 | |
parent | 8e6e54de641f300c70302f954c7853f0f46616a9 (diff) | |
download | FreeBSD-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
-rw-r--r-- | sys/amd64/include/pmap.h | 8 |
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; }; |