Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 2000 20:17:55 +0900
From:      "Daniel C. Sobral" <dcs@newsguy.com>
To:        Jacques Fourie <jacques4i@yahoo.com>
Cc:        Matt Dillon <dillon@earth.backplane.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: kernel stack size?
Message-ID:  <3A093663.23578211@newsguy.com>
References:  <20001108082135.21027.qmail@web3504.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jacques Fourie wrote:
> 
> 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.

Don't do that during interrupt. Queue the data to be processed by a
kernel thread later.

-- 
Daniel C. Sobral			(8-DCS)
dcs@newsguy.com
dcs@freebsd.org
capo@world.wide.bsdconspiracy.net

		He has been convicted of criminal possession of a clue with intent to
distribute.


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?3A093663.23578211>