This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

cyg_mempool problem?


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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]