From owner-freebsd-questions@FreeBSD.ORG Sun Oct 17 18:55:06 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1279616A4CE for ; Sun, 17 Oct 2004 18:55:06 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8F11643D45 for ; Sun, 17 Oct 2004 18:55:05 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 88A2D51342; Sun, 17 Oct 2004 11:55:03 -0700 (PDT) Date: Sun, 17 Oct 2004 11:55:03 -0700 From: Kris Kennaway To: Ben Paley Message-ID: <20041017185503.GC71495@xor.obsecurity.org> References: <200410171238.04809.ben@spooty.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tqI+Z3u+9OQ7kwn0" Content-Disposition: inline In-Reply-To: <200410171238.04809.ben@spooty.net> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Questions Subject: Re: Giant and MPSAFE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 18:55:06 -0000 --tqI+Z3u+9OQ7kwn0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 17, 2004 at 12:38:04PM +0100, Ben Paley wrote: > Hello, >=20 > bash-2.05b$ uname -a > FreeBSD potato.hogsedge.net 5.3-BETA5 FreeBSD 5.3-BETA5 #0: Mon Sep 20=20 > 07:49:52 BST 2004 root@potato.hogsedge.net:/usr/obj/usr/src/sys/POTAT= O =20 > i386 >=20 > I've just noticed a nasty looking message at boot: >=20 > WARNING: debug.mpsafenet forced to 0 as aio requires Giant > WARNING: MPSAFE network stack disabled, expect reduced performance. >=20 > And then subsequently there are a good few references to things being (fr= om=20 > memory) >=20 > [GIANT LOCKED] >=20 > Anyone have any idea what this is about, and if it's actually bad, and ho= w I=20 > can sort it out? Some subsystems have not yet been modified so they take advantage of multiple processors. aio is one of them, and because it interlinks with the network subsystem, if you have it in your kernel you can't make use of smp in the entire network stack. It's unlikely that you really need aio since it's still experimental code, so you can just compile it out of your kernel. Kris --tqI+Z3u+9OQ7kwn0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBcsAGWry0BWjoQKURArDfAJ9MGaG0AfEQggWrIQ6cQdUE1rSpvQCg1GsQ pfcioTPzZy49sda5QAvkuaQ= =EgLy -----END PGP SIGNATURE----- --tqI+Z3u+9OQ7kwn0--