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:
Konstantin Belousov 2016-05-10 09:58:51 +00:00
parent 6e9bf96d6f
commit aa3ec63e02

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