Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 May 2010 16:54:05 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r208159 - head/sys/vm
Message-ID:  <201005161654.o4GGs56l059511@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.
  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005161654.o4GGs56l059511>