svn commit: r208159 - head/sys/vm

Alan Cox alc at FreeBSD.org
Sun May 16 16:54:05 UTC 2010


Author: alc
Date: Sun May 16 16:54:05 2010
New Revision: 208159
URL: http://svn.freebsd.org/changeset/base/208159

Log:
  Add a comment about the proper use of vm_object_page_remove().
  
  MFC after:	1 week

Modified:
  head/sys/vm/vm_object.c

Modified: head/sys/vm/vm_object.c
==============================================================================
--- head/sys/vm/vm_object.c	Sun May 16 16:52:56 2010	(r208158)
+++ head/sys/vm/vm_object.c	Sun May 16 16:54:05 2010	(r208159)
@@ -1906,7 +1906,8 @@ vm_object_collapse(vm_object_t object)
  *	that contain managed pages.  There are two exceptions.  First,
  *	it may be performed on the kernel and kmem objects.  Second,
  *	it may be used by msync(..., MS_INVALIDATE) to invalidate
- *	device-backed pages.
+ *	device-backed pages.  In both of these cases, "clean_only"
+ *	must be FALSE.
  *
  *	The object must be locked.
  */


More information about the svn-src-head mailing list