From owner-cvs-src@FreeBSD.ORG Thu Dec 20 22:45:55 2007 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 75C3F16A418; Thu, 20 Dec 2007 22:45:55 +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 4FC2C13C447; Thu, 20 Dec 2007 22:45:55 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id lBKMjtYI092003; Thu, 20 Dec 2007 22:45:55 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id lBKMjt7H092002; Thu, 20 Dec 2007 22:45:55 GMT (envelope-from alc) Message-Id: <200712202245.lBKMjt7H092002@repoman.freebsd.org> From: Alan Cox Date: Thu, 20 Dec 2007 22:45:55 +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/vm vm_page.c vm_phys.c vm_phys.h 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: Thu, 20 Dec 2007 22:45:55 -0000 alc 2007-12-20 22:45:54 UTC FreeBSD src repository Modified files: sys/vm vm_page.c vm_phys.c vm_phys.h Log: Modify vm_phys_unfree_page() so that it no longer requires the given page to be in the free lists. Instead, it now returns TRUE if it removed the page from the free lists and FALSE if the page was not in the free lists. This change is required to support superpage reservations. Specifically, once reservations are introduced, a cached page can either be in the free lists or a reservation. Revision Changes Path 1.364 +5 -2 src/sys/vm/vm_page.c 1.6 +10 -7 src/sys/vm/vm_phys.c 1.4 +4 -1 src/sys/vm/vm_phys.h