From owner-freebsd-hackers Mon Oct 8 9:32:18 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 9EF5337B401 for ; Mon, 8 Oct 2001 09:32:13 -0700 (PDT) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id f98GWAq28817; Mon, 8 Oct 2001 09:32:10 -0700 Date: Mon, 8 Oct 2001 09:32:10 -0700 From: Brooks Davis To: Bsdguru@aol.com Cc: hackers@FreeBSD.ORG Subject: Re: splx() overhead. Message-ID: <20011008093210.A27459@Odin.AC.HMC.Edu> References: <16e.20f7124.28f3296e@aol.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <16e.20f7124.28f3296e@aol.com>; from Bsdguru@aol.com on Mon, Oct 08, 2001 at 12:08:14PM -0400 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 08, 2001 at 12:08:14PM -0400, Bsdguru@aol.com wrote: > In doing some kernel profiling analysis it seems that splx is taking up b= ig=20 > chunks of time. >=20 > The mbuf macros call splimp()..splx() explicitly..are they required at=20 > interrupt time? Is there a higher performance way of protecting the neces= sary=20 > code? Yes and yes. spl macros are now no-ops in current and are being replaced by locks which protect data structures. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE7wdUJXY6L6fI4GtQRAvwYAJ9WCr1Bc1mZ7qZCsN83D6L/Z564ewCgjVJj g+yTShkEGn4R6ahuhfLtLJc= =UGSZ -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message