svn commit: r246418 - user/attilio/vmc-playground/sys/vm
Attilio Rao
attilio at FreeBSD.org
Wed Feb 6 17:17:12 UTC 2013
Author: attilio
Date: Wed Feb 6 17:17:11 2013
New Revision: 246418
URL: http://svnweb.freebsd.org/changeset/base/246418
Log:
Reduce diffs against HEAD.
Modified:
user/attilio/vmc-playground/sys/vm/vm_page.c
Modified: user/attilio/vmc-playground/sys/vm/vm_page.c
==============================================================================
--- user/attilio/vmc-playground/sys/vm/vm_page.c Wed Feb 6 17:06:51 2013 (r246417)
+++ user/attilio/vmc-playground/sys/vm/vm_page.c Wed Feb 6 17:17:11 2013 (r246418)
@@ -1004,7 +1004,7 @@ vm_page_rename(vm_page_t m, vm_object_t
* zero is given for "end", then the range's upper bound is
* infinity. If the given object is backed by a vnode and it
* transitions from having one or more cached pages to none, the
- * vnode's hold count is reduced.
+ * vnode's hold count is reduced.
*/
void
vm_page_cache_free(vm_object_t object, vm_pindex_t start, vm_pindex_t end)
@@ -1025,7 +1025,6 @@ vm_page_cache_free(vm_object_t object, v
vm_radix_remove(&object->cache, m->pindex);
m->object = NULL;
m->valid = 0;
-
/* Clear PG_CACHED and set PG_FREE. */
m->flags ^= PG_CACHED | PG_FREE;
KASSERT((m->flags & (PG_CACHED | PG_FREE)) == PG_FREE,
More information about the svn-src-user
mailing list