From owner-cvs-all Mon Jul 22 18: 9:39 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E1ACC37B400; Mon, 22 Jul 2002 18:09:34 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9768643E6A; Mon, 22 Jul 2002 18:09:34 -0700 (PDT) (envelope-from arr@FreeBSD.org) Received: from freefall.freebsd.org (arr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g6N19YJU035772; Mon, 22 Jul 2002 18:09:34 -0700 (PDT) (envelope-from arr@freefall.freebsd.org) Received: (from arr@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g6N19YUE035771; Mon, 22 Jul 2002 18:09:34 -0700 (PDT) Message-Id: <200207230109.g6N19YUE035771@freefall.freebsd.org> From: "Andrew R. Reiter" Date: Mon, 22 Jul 2002 18:09:34 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_syscalls.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG arr 2002/07/22 18:09:34 PDT Modified files: sys/kern uipc_syscalls.c Log: - Make use of the VM_ALLOC_WIRED flag in the call to vm_page_alloc() in do_sendfile(). This allows us to rearrange an if statement in order to avoid doing an unnecesary call to vm_page_lock_queues(), and an attempt at re-wiring the pages (which were wired in the vm_page_alloc() call). Reviewed by: alc, jhb Revision Changes Path 1.119 +12 -12 src/sys/kern/uipc_syscalls.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message