Index: sys/vm/vm_page.c =================================================================== --- sys/vm/vm_page.c +++ sys/vm/vm_page.c @@ -3666,8 +3682,9 @@ * disassociating it from any VM object. The caller may return * the page to the free list only if this function returns true. * - * The object must be locked. The page must be locked if it is - * managed. + * The object, if exists, must be locked, and then the page must + * be xbusy. Otherwise the page must be not busied. Managed + * page must be unmapped. */ static bool vm_page_free_prep(vm_page_t m)