From owner-freebsd-hackers Wed Nov 8 0:27:13 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id CF0F937B479 for ; Wed, 8 Nov 2000 00:27:09 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eA88R8g12715; Wed, 8 Nov 2000 01:27:08 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id BAA27696; Wed, 8 Nov 2000 01:27:08 -0700 (MST) Message-Id: <200011080827.BAA27696@harmony.village.org> To: Jacques Fourie Subject: Re: kernel stack size? Cc: freebsd-hackers@FreeBSD.ORG In-reply-to: Your message of "Wed, 08 Nov 2000 00:21:35 PST." <20001108082135.21027.qmail@web3504.mail.yahoo.com> References: <20001108082135.21027.qmail@web3504.mail.yahoo.com> Date: Wed, 08 Nov 2000 01:27:08 -0700 From: Warner Losh Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001108082135.21027.qmail@web3504.mail.yahoo.com> Jacques Fourie writes: : Would it be possible to pre-allocate a block of memory : and then "switch" stacks in my interrupt routine? This : may be far off, but my only other option is going : through ~10000 lines of code and examining all places : where local variables are declared. If I could somehow : do this in a different way, it would really help a : lot. 10k lines in an interrupt routine sounds to be way more work than you want to do in an interrupt routine. Maybe you could use a work queue and deal with it that way. There isn't much I can do to help you with the local variable issue, since it sounds like this code is just flat ill suited for the kernel. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message