svn commit: r300023 - stable/10/sys/amd64/include

Konstantin Belousov kib at FreeBSD.org
Tue May 17 07:55:50 UTC 2016


Author: kib
Date: Tue May 17 07:55:49 2016
New Revision: 300023
URL: https://svnweb.freebsd.org/changeset/base/300023

Log:
  MFC r299350:
  Add locking annotations to amd64 struct md_page members.

Modified:
  stable/10/sys/amd64/include/pmap.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/amd64/include/pmap.h
==============================================================================
--- stable/10/sys/amd64/include/pmap.h	Tue May 17 07:54:53 2016	(r300022)
+++ stable/10/sys/amd64/include/pmap.h	Tue May 17 07:55:49 2016	(r300023)
@@ -280,9 +280,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;
 };
 


More information about the svn-src-all mailing list