svn commit: r348660 - head/sys/vm

Mark Johnston markj at FreeBSD.org
Tue Jun 4 18:38:28 UTC 2019


Author: markj
Date: Tue Jun  4 18:38:27 2019
New Revision: 348660
URL: https://svnweb.freebsd.org/changeset/base/348660

Log:
  Remove an outdated header comment for vm_page.c.
  
  The listed rules were incomplete and outdated.  There is a much more
  comprehensive comment in vm_page.h.
  
  Reviewed by:	alc, kib
  MFC after:	1 week
  Differential Revision:	https://reviews.freebsd.org/D20503

Modified:
  head/sys/vm/vm_page.c

Modified: head/sys/vm/vm_page.c
==============================================================================
--- head/sys/vm/vm_page.c	Tue Jun  4 18:36:12 2019	(r348659)
+++ head/sys/vm/vm_page.c	Tue Jun  4 18:38:27 2019	(r348660)
@@ -63,23 +63,6 @@
  */
 
 /*
- *			GENERAL RULES ON VM_PAGE MANIPULATION
- *
- *	- A page queue lock is required when adding or removing a page from a
- *	  page queue regardless of other locks or the busy state of a page.
- *
- *		* In general, no thread besides the page daemon can acquire or
- *		  hold more than one page queue lock at a time.
- *
- *		* The page daemon can acquire and hold any pair of page queue
- *		  locks in any order.
- *
- *	- The object lock is required when inserting or removing
- *	  pages from an object (vm_page_insert() or vm_page_remove()).
- *
- */
-
-/*
  *	Resident memory management module.
  */
 


More information about the svn-src-all mailing list