Add locking annotations to amd64 struct md_page members.

Reviewed by:	alc
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
kib 2016-05-10 09:58:51 +00:00
parent 8e6e54de64
commit 05241d701e

View File

@ -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;
};