I. Szczesniak wrote:

> Stefan, please change this to --enable-alloca=alloca.
> --enable-alloca=malloc-reentrant will use the default Solaris memory
> allocator which *severely* reduces libgmp's performance in multi
> threaded applications with many threads. It's up to the caller to
> allocate sufficient stack space for temporary allocations.

You mean the GNU MP subscriber application should be responsible for changing 
the default stack size to accommodate the allocation of very large temporary 
objects on the stack with alloca(3C) ?

This does not sound like a practical approach to me.

--Stefan

-- 
Stefan Teleman
Sun Microsystems, Inc.
Stefan.Teleman at Sun.COM


Reply via email to