Index: sys/vm/vm_page.c =================================================================== --- sys/vm/vm_page.c (revisione 237164) +++ sys/vm/vm_page.c (copia locale) @@ -1336,13 +1336,6 @@ vm_page_is_cached(vm_object_t object, vm_pindex_t { vm_page_t m; - /* - * Insertion into an object's collection of cached pages requires the - * object to be locked. Therefore, if the object is locked and the - * object's collection is empty, there is no need to acquire the free - * page queues lock in order to prove that the specified page doesn't - * exist. - */ VM_OBJECT_LOCK_ASSERT(object, MA_OWNED); if (__predict_true(object->cache == NULL)) return (FALSE); @@ -2317,6 +2310,12 @@ vm_page_try_to_free(vm_page_t m) * Put the specified page onto the page cache queue (if appropriate). * * This routine may not block. + * + * Insertion into an object's collection of cached pages requires the + * object to be locked. Therefore, if the object is locked and the + * object's collection is empty, there is no need to acquire the free + * page queues lock in order to prove that the specified page doesn't + * exist. */ void vm_page_cache(vm_page_t m)