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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message