Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 2000 01:27:08 -0700
From:      Warner Losh <imp@village.org>
To:        Jacques Fourie <jacques4i@yahoo.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: kernel stack size? 
Message-ID:  <200011080827.BAA27696@harmony.village.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>  

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011080827.BAA27696>