From owner-cvs-src-old@FreeBSD.ORG Sun May 30 18:49:34 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A06D9106567B for ; Sun, 30 May 2010 18:49:34 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (unknown [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8E44F8FC21 for ; Sun, 30 May 2010 18:49:34 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o4UInYDC091965 for ; Sun, 30 May 2010 18:49:34 GMT (envelope-from alc@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o4UInYuA091964 for cvs-src-old@freebsd.org; Sun, 30 May 2010 18:49:34 GMT (envelope-from alc@repoman.freebsd.org) Message-Id: <201005301849.o4UInYuA091964@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to alc@repoman.freebsd.org using -f From: Alan Cox Date: Sun, 30 May 2010 18:48:41 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c src/sys/i386/xen pmap.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2010 18:49:34 -0000 alc 2010-05-30 18:48:41 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/i386/i386 pmap.c sys/i386/xen pmap.c Log: SVN rev 208657 on 2010-05-30 18:48:41Z by alc Simplify the inner loop of pmap_collect(): While iterating over the page's pv list, there is no point in checking whether or not the pv list is empty. Instead, wait until the loop completes. Revision Changes Path 1.702 +3 -6 src/sys/amd64/amd64/pmap.c 1.682 +3 -6 src/sys/i386/i386/pmap.c 1.43 +2 -2 src/sys/i386/xen/pmap.c