From owner-freebsd-arch Thu Dec 20 14:12:36 2001 Delivered-To: freebsd-arch@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id 40F8F37B41B; Thu, 20 Dec 2001 14:12:31 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id D670381E0C; Thu, 20 Dec 2001 16:12:30 -0600 (CST) Date: Thu, 20 Dec 2001 16:12:30 -0600 From: Alfred Perlstein To: Poul-Henning Kamp Cc: John Baldwin , Julian Elischer , arch@FreeBSD.org Subject: Re: Kernel stack size and stacking: do we have a problem ? Message-ID: <20011220161230.L48837@elvis.mu.org> References: <3954.1008885976@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3954.1008885976@critter.freebsd.dk>; from phk@critter.freebsd.dk on Thu, Dec 20, 2001 at 11:06:16PM +0100 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Poul-Henning Kamp [011220 16:08] wrote: > > B) We have no idea how to sanely fix VOP_ since it is synchronous. > When I say "sanely" I'm referring to the fact that the VOP > code is scary enough as it is and we don't want to make it even > hairier, lest we loose the few filesystem hackers we have, not > to mention the fact that we would probably never complete the > conversion in the first place (see sys/vnode.h::IS_LOCKING_VFS() > for precedent.) Wait, when you almost run out of stack what's stopping you from queuing the vop data to a thread and then sleeping? I know that sleeping in certain VOPs isn't allowed, but maybe we could somehow switch stacks temporarily via some sort of continuation system... http://people.freebsd.org/~alfred/zbthreads/ -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' http://www.morons.org/rants/gpl-harmful.php3 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message