From owner-svn-src-all@FreeBSD.ORG Mon May 4 06:30:00 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA2CD1065670; Mon, 4 May 2009 06:30:00 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id D7AEB8FC19; Mon, 4 May 2009 06:30:00 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n446U09H036056; Mon, 4 May 2009 06:30:00 GMT (envelope-from alc@svn.freebsd.org) Received: (from alc@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n446U0qg036055; Mon, 4 May 2009 06:30:00 GMT (envelope-from alc@svn.freebsd.org) Message-Id: <200905040630.n446U0qg036055@svn.freebsd.org> From: Alan Cox Date: Mon, 4 May 2009 06:30:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191778 - head/sys/vm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 May 2009 06:30:01 -0000 Author: alc Date: Mon May 4 06:30:00 2009 New Revision: 191778 URL: http://svn.freebsd.org/changeset/base/191778 Log: Eliminate vnode_pager_input_smlfs()'s pointless call to pmap_clear_modify(). The page can't possibly have any modified page table entries because it isn't even mapped. Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c ============================================================================== --- head/sys/vm/vnode_pager.c Mon May 4 02:19:52 2009 (r191777) +++ head/sys/vm/vnode_pager.c Mon May 4 06:30:00 2009 (r191778) @@ -559,9 +559,6 @@ vnode_pager_input_smlfs(object, m) } } sf_buf_free(sf); - vm_page_lock_queues(); - pmap_clear_modify(m); - vm_page_unlock_queues(); if (error) { return VM_PAGER_ERROR; }