Date: Thu, 20 Dec 2001 16:12:30 -0600 From: Alfred Perlstein <bright@mu.org> To: Poul-Henning Kamp <phk@critter.freebsd.dk> Cc: John Baldwin <jhb@FreeBSD.org>, Julian Elischer <julian@elischer.org>, arch@FreeBSD.org Subject: Re: Kernel stack size and stacking: do we have a problem ? Message-ID: <20011220161230.L48837@elvis.mu.org> In-Reply-To: <3954.1008885976@critter.freebsd.dk>; from phk@critter.freebsd.dk on Thu, Dec 20, 2001 at 11:06:16PM %2B0100 References: <XFMail.011220135657.jhb@FreeBSD.org> <3954.1008885976@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
* Poul-Henning Kamp <phk@critter.freebsd.dk> [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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011220161230.L48837>