From owner-cvs-src-old@FreeBSD.ORG Fri Sep 4 04:48:23 2009 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 8DBE910656C2 for ; Fri, 4 Sep 2009 04:48:23 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 7C22A8FC14 for ; Fri, 4 Sep 2009 04:48:23 +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 n844mNKN098164 for ; Fri, 4 Sep 2009 04:48:23 GMT (envelope-from alc@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n844mNrv098163 for cvs-src-old@freebsd.org; Fri, 4 Sep 2009 04:48:23 GMT (envelope-from alc@repoman.freebsd.org) Message-Id: <200909040448.n844mNrv098163@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to alc@repoman.freebsd.org using -f From: Alan Cox Date: Fri, 4 Sep 2009 04:48:12 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/vm vm_reserv.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: Fri, 04 Sep 2009 04:48:23 -0000 alc 2009-09-04 04:48:12 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/vm vm_reserv.c Log: SVN rev 196807 on 2009-09-04 04:48:12Z by alc MFC r190912 Previously, when vm_page_free_toq() was performed on a page belonging to a reservation, unless all of the reservation's pages were free, the reservation was moved to the head of the partially-populated reservations queue, where it would be the next reservation to be broken in case the free page queues were emptied. Now, instead, I am moving it to the tail. Very likely this reservation is in the process of being freed in its entirety, so placing it at the tail of the queue makes it more likely that the underlying physical memory will be returned to the free page queues as one contiguous chunk. Revision Changes Path 1.2.2.2 +4 -4 src/sys/vm/vm_reserv.c