From owner-svn-src-user@FreeBSD.ORG Mon May 26 13:23:36 2014 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AAF9406; Mon, 26 May 2014 13:23:36 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8850B22CD; Mon, 26 May 2014 13:23:36 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4QDNadS016425; Mon, 26 May 2014 13:23:36 GMT (envelope-from attilio@svn.freebsd.org) Received: (from attilio@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4QDNaZD016424; Mon, 26 May 2014 13:23:36 GMT (envelope-from attilio@svn.freebsd.org) Message-Id: <201405261323.s4QDNaZD016424@svn.freebsd.org> From: Attilio Rao Date: Mon, 26 May 2014 13:23:36 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r266689 - user/attilio/rm_vmobj_cache/sys/kern X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2014 13:23:36 -0000 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; }