svn commit: r266689 - user/attilio/rm_vmobj_cache/sys/kern

Attilio Rao attilio at FreeBSD.org
Mon May 26 13:23:36 UTC 2014


Author: attilio
Date: Mon May 26 13:23:36 2014
New Revision: 266689
URL: http://svnweb.freebsd.org/changeset/base/266689

Log:
  Fixup a case where wire count is decreased before to free an
  unmanaged page.

Modified:
  user/attilio/rm_vmobj_cache/sys/kern/vfs_bio.c

Modified: user/attilio/rm_vmobj_cache/sys/kern/vfs_bio.c
==============================================================================
--- user/attilio/rm_vmobj_cache/sys/kern/vfs_bio.c	Mon May 26 13:11:38 2014	(r266688)
+++ user/attilio/rm_vmobj_cache/sys/kern/vfs_bio.c	Mon May 26 13:23:36 2014	(r266689)
@@ -4288,9 +4288,7 @@ vm_hold_free_pages(struct buf *bp, int n
 		if (vm_page_sbusied(p))
 			printf("vm_hold_free_pages: blkno: %jd, lblkno: %jd\n",
 			    (intmax_t)bp->b_blkno, (intmax_t)bp->b_lblkno);
-		p->wire_count--;
 		vm_page_free(p);
-		atomic_subtract_int(&vm_cnt.v_wire_count, 1);
 	}
 	bp->b_npages = newnpages;
 }


More information about the svn-src-user mailing list