From owner-svn-src-all@FreeBSD.ORG Sat Aug 29 02:17:41 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 1E9D2106564A; Sat, 29 Aug 2009 02:17:41 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC728FC19; Sat, 29 Aug 2009 02:17:41 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n7T2HeQ4042798; Sat, 29 Aug 2009 02:17:40 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n7T2He3n042796; Sat, 29 Aug 2009 02:17:40 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200908290217.n7T2He3n042796@svn.freebsd.org> From: John Baldwin Date: Sat, 29 Aug 2009 02:17:40 +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: r196637 - 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: Sat, 29 Aug 2009 02:17:41 -0000 Author: jhb Date: Sat Aug 29 02:17:40 2009 New Revision: 196637 URL: http://svn.freebsd.org/changeset/base/196637 Log: Mark the fake pages constructed by the OBJT_SG pager valid. This was accidentally lost at one point during the PAT development. Without this fix vm_pager_get_pages() was zeroing each of the pages. Submitted by: czander @ NVidia MFC after: 3 days Modified: head/sys/vm/sg_pager.c Modified: head/sys/vm/sg_pager.c ============================================================================== --- head/sys/vm/sg_pager.c Sat Aug 29 01:34:42 2009 (r196636) +++ head/sys/vm/sg_pager.c Sat Aug 29 02:17:40 2009 (r196637) @@ -204,6 +204,7 @@ sg_pager_getpages(vm_object_t object, vm vm_page_unlock_queues(); vm_page_insert(page, object, offset); m[reqpage] = page; + page->valid = VM_PAGE_BITS_ALL; return (VM_PAGER_OK); }