From owner-freebsd-current@FreeBSD.ORG Sun Mar 14 07:19:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68F7C16A4CE; Sun, 14 Mar 2004 07:19:16 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6717D43D41; Sun, 14 Mar 2004 07:19:15 -0800 (PST) (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 i2EFJ7YB078489; Sun, 14 Mar 2004 16:19:12 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Bruce Evans From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 15 Mar 2004 01:52:00 +1100." <20040315012321.X1848@gamplex.bde.org> Date: Sun, 14 Mar 2004 16:19:07 +0100 Message-ID: <78488.1079277547@critter.freebsd.dk> cc: Don Lewis cc: current@freebsd.org Subject: Re: recent changes in Giant usage -> panic X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Mar 2004 15:19:16 -0000 In message <20040315012321.X1848@gamplex.bde.org>, Bruce Evans writes: >vgone() has interesting locking problems. It seems to be a fundamentally >broken interface that only works if the kernel is not premptible or >possibly if everything related to vgone() is locked by Giant. Apparently >the lower levels know that Giant locking is needed. That's a fair way of putting it. Quite a bit of the brokenness comes from the revoke systemcall. -- 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.