From owner-cvs-src@FreeBSD.ORG Wed Feb 14 07:05:56 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 04CB216A400; Wed, 14 Feb 2007 07:05:56 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id D2CDC13C442; Wed, 14 Feb 2007 07:05:55 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1E75tf4062697; Wed, 14 Feb 2007 07:05:55 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1E75tbW062696; Wed, 14 Feb 2007 07:05:55 GMT (envelope-from alc) Message-Id: <200702140705.l1E75tbW062696@repoman.freebsd.org> From: Alan Cox Date: Wed, 14 Feb 2007 07:05: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 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: Wed, 14 Feb 2007 07:05:56 -0000 alc 2007-02-14 07:05:55 UTC FreeBSD src repository Modified files: sys/vm vm_page.c Log: Avoid the unnecessary acquisition of the free page queues lock when a page is actually being added to the hold queue, not the free queue. At the same time, avoid unnecessary tests to wake up threads waiting for free memory and the idle thread that zeroes free pages. (These tests will be performed later when the page finally moves from the hold queue to the free queue.) Revision Changes Path 1.337 +5 -4 src/sys/vm/vm_page.c