summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-05-16 16:54:05 +0000
committeralc <alc@FreeBSD.org>2010-05-16 16:54:05 +0000
commit84d6f507157c88624f7662907cac736b8c4243a9 (patch)
tree045defb486de1c5fbf80cba8ad87093622dd56d7
parent5236db452d5b06e3faf03f1827771f70170b6c71 (diff)
downloadFreeBSD-src-84d6f507157c88624f7662907cac736b8c4243a9.zip
FreeBSD-src-84d6f507157c88624f7662907cac736b8c4243a9.tar.gz
Add a comment about the proper use of vm_object_page_remove().
MFC after: 1 week
-rw-r--r--sys/vm/vm_object.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c
index 185fe2b..96ceb88 100644
--- a/sys/vm/vm_object.c
+++ b/sys/vm/vm_object.c
@@ -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.
*/
OpenPOWER on IntegriCloud