Date: Tue, 7 Aug 2001 13:29:25 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: "Semen A. Ustimenko" <semenu@FreeBSD.org> Cc: freebsd-hackers@FreeBSD.org Subject: Re: Kernel stack size Message-ID: <Pine.BSF.4.21.0108071326430.70956-100000@InterJet.elischer.org> In-Reply-To: <Pine.BSF.4.21.0108080053020.5700-100000@default>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Aug 2001, Semen A. Ustimenko wrote: > Hi! Thanks for light speed response! > > On Tue, 7 Aug 2001, Julian Elischer wrote: > > > the kernel stack is a VERY LIMITED resource > > basically you have about 4 or 5 Kbytes per process. > Oops... And there is no hope to enlarge it? none really. that's the way it is in all kernels.. The kernel is a very limited environment. > > > if you overflow it you write over your signal information.. > > > That's what i'm seeing. SIGPROF, particulary. > > > you should MALLOC space and use a pointer to it.. > > > But this is loss of speed, isn't it? a little but maybe not as much as you think.. malloc is pretty quick. If you are doing it a lot, you might even consider caching the memory blocks.. > > Bye! > > 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?Pine.BSF.4.21.0108071326430.70956-100000>