From owner-freebsd-geom@FreeBSD.ORG Wed May 19 08:43:30 2004 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D59516A4CE; Wed, 19 May 2004 08:43:30 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7C6F43D54; Wed, 19 May 2004 08:43:29 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.11/8.12.11) with ESMTP id i4JFhSFi020078; Wed, 19 May 2004 17:43:28 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Lukas Ertl From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 19 May 2004 16:57:10 +0200." <20040519165626.W4275@pcle2.cc.univie.ac.at> Date: Wed, 19 May 2004 17:43:28 +0200 Message-ID: <20077.1084981408@critter.freebsd.dk> cc: geom@freebsd.org Subject: Re: Unloading GEOM classes X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 May 2004 15:43:30 -0000 In message <20040519165626.W4275@pcle2.cc.univie.ac.at>, Lukas Ertl writes: >Hello fellow GEOM hackers, > >I'd like to get the discussion about unloading GEOM classes rolling again, >and I'm really pleading for a change of the current code in geom_subr.c. OK, I just checked with peter@ and he belives that we can simply do a DROP_GIANT() ... PICKUP_GIANT() in the g_modevent() and avoid the need for the eventqueue there. Can somebody try that ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.