Author: alc
Date: Wed Jan 19 15:43:54 2011
New Revision: 217581
URL: http://svn.freebsd.org/changeset/base/217581

Log:
  There is no point in calling vm_object_set_writeable_dirty() on an object
  that is definitively known to be swap backed since its only effects are on
  vnode-backed objects.
  
  Reviewed by:  kib

Modified:
  head/sys/dev/md/md.c

Modified: head/sys/dev/md/md.c
==============================================================================
--- head/sys/dev/md/md.c        Wed Jan 19 15:43:23 2011        (r217580)
+++ head/sys/dev/md/md.c        Wed Jan 19 15:43:54 2011        (r217581)
@@ -684,7 +684,6 @@ printf("wire_count %d busy %d flags %x h
 #endif
        }
        vm_object_pip_subtract(sc->object, 1);
-       vm_object_set_writeable_dirty(sc->object);
        VM_OBJECT_UNLOCK(sc->object);
        return (rv != VM_PAGER_ERROR ? 0 : ENOSPC);
 }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to