From owner-cvs-all Fri Aug 16 11:41:52 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 1E08137B401; Fri, 16 Aug 2002 11:41:49 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C56DB43E70; Fri, 16 Aug 2002 11:41:48 -0700 (PDT) (envelope-from dg@FreeBSD.org) Received: from freefall.freebsd.org (dg@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7GIfmJU047248; Fri, 16 Aug 2002 11:41:48 -0700 (PDT) (envelope-from dg@freefall.freebsd.org) Received: (from dg@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7GIfmXH047247; Fri, 16 Aug 2002 11:41:48 -0700 (PDT) Message-Id: <200208161841.g7GIfmXH047247@freefall.freebsd.org> From: David Greenman Date: Fri, 16 Aug 2002 11:41:48 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern uipc_socket2.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 dg 2002/08/16 11:41:48 PDT Modified files: sys/kern uipc_socket2.c Log: Further improved the performance of sbreserve() by moving the calculation of the adjusted sb_max into a sysctl handler for sb_max and assigning it to a variable that is used instead. This eliminates the 32bit multiply and divide from the fast path that was being done previously. Revision Changes Path 1.103 +26 -5 src/sys/kern/uipc_socket2.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message