From owner-cvs-src@FreeBSD.ORG Mon Sep 29 22:13:41 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3B681065731; Mon, 29 Sep 2008 22:13:41 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 471228FC16; Mon, 29 Sep 2008 22:13:39 +0000 (UTC) (envelope-from kmacy@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8TMDd6s014850; Mon, 29 Sep 2008 22:13:39 GMT (envelope-from kmacy@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8TMDdjd014849; Mon, 29 Sep 2008 22:13:39 GMT (envelope-from kmacy@repoman.freebsd.org) Message-Id: <200809292213.m8TMDdjd014849@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kmacy@repoman.freebsd.org using -f From: Kip Macy Date: Mon, 29 Sep 2008 22:13:29 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/cxgb/ulp/tom cxgb_vm.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 22:13:41 -0000 kmacy 2008-09-29 22:13:29 UTC FreeBSD src repository Modified files: sys/dev/cxgb/ulp/tom cxgb_vm.c Log: SVN rev 183478 on 2008-09-29 22:13:29Z by kmacy vm_fault_hold_user_pages will not return if an address in the range passed in is mapped RO but an RW mapping exists for the underlying page. This change fixes the bug by using the page / NULL returned from pmap_extract_and_hold to determine whether or not vm_fault needs to be called. The bug was pointed out by alc. MFC after: 3 days Revision Changes Path 1.3 +8 -14 src/sys/dev/cxgb/ulp/tom/cxgb_vm.c