From owner-cvs-all Mon Jun 25 14: 9:38 2001 Delivered-To: cvs-all@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id A766737B406; Mon, 25 Jun 2001 14:09:32 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Date: Mon, 25 Jun 2001 22:09:23 +0100 From: David Malone To: Matt Dillon Cc: Bruce Evans , Peter Wemm , Mikhail Teterin , jlemon@FreeBSD.org, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: kernel size w/ optimized bzero() & patch set (was Re: Inline optimized bzero (was Re: cvs commit: src/sys/netinettcp_subr.c)) Message-ID: <20010625220923.A27901@salmon.maths.tcd.ie> References: <200106251233.f5PCXc306427@earth.backplane.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200106251233.f5PCXc306427@earth.backplane.com>; from dillon@earth.backplane.com on Mon, Jun 25, 2001 at 05:33:38AM -0700 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 On Mon, Jun 25, 2001 at 05:33:38AM -0700, Matt Dillon wrote: > And my earlier assessment was wrong. 800+ bzero()'s, a difference of > 128 bytes in the kernel, results in an average of 0.16 additional > instructions bytes per bzero, not 1 byte per bzero. I think this is > quite acceptable considering the positive effect. BTW - I have patches for a load of places in which M_ZERO could be used. It seems that the firrst patch only got about half the instances. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message