Add a comment about the proper use of vm_object_page_remove().

MFC after:	1 week
This commit is contained in:
Alan Cox 2010-05-16 16:54:05 +00:00
parent 79bf3fcd18
commit a1a95cd608

View File

@ -1906,7 +1906,8 @@ vm_object_collapse(vm_object_t object)
* that contain managed pages. There are two exceptions. First, * that contain managed pages. There are two exceptions. First,
* it may be performed on the kernel and kmem objects. Second, * it may be performed on the kernel and kmem objects. Second,
* it may be used by msync(..., MS_INVALIDATE) to invalidate * 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. * The object must be locked.
*/ */