This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
cyg_mempool problem?
- To: ecos-discuss at sources dot redhat dot com
- Subject: [ECOS] cyg_mempool problem?
- From: Fredrik Hederstierna <fredrik at wespot dot com>
- Date: Wed, 10 Oct 2001 10:56:07 +0200
Hi,
Question regardning cyg_mempool:
When I'm creating a cyg_mempool using 4 megabytes everything works fine.
But if I increase the size of the mempool eCos crashes in the kernel
(scheduler, mutex etc) which seems like memory trashing in the kernels
stack space (?). I've tried to increase LIBC-malloc stack size but it
had no effect. I've also tried to MMU-protect parts of the RAM to see if
there's any trashing by my application, but without effect.
Is there any limit on size of cyg_mempool, or are there any special
issues when using sizes approx. > 4 MB?
Best Regards,
Fredrik Hederstierna