MFC r208159

Add a comment about the proper use of vm_object_page_remove().
This commit is contained in:
Alan Cox 2010-05-23 21:57:45 +00:00
parent b40a53690e
commit 452e6e0d44

View File

@ -1882,7 +1882,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.
*/