[Bug 1924] Enhanced stack allocator configuration
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Wed Oct 26 11:02:43 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1924
--- Comment #1 from Sebastian Huber <sebastian.huber at embedded-brains.de> 2011-10-26 06:02:43 CDT ---
Created attachment 1358
--> https://www.rtems.org/bugzilla/attachment.cgi?id=1358
Added stack_space_size field to Configuration.
This patch adds a new field to the Configuration (rtems_configuration_table):
stack_space_size. This value determines in addition to the existing
work_space_size the size for the RTEMS work space. In confdefs.h the
estimation of the stack sizes is separated from the other objects now. In the
future the new stack_space_size field can be used by custom thread stack
allocators.
Warning: The size for Ada tasks changed.
- /**
- * Ada tasks are allocated twice the minimum stack space.
- */
- #define CONFIGURE_ADA_TASKS_STACK \
- (CONFIGURE_MAXIMUM_ADA_TASKS * \
- (CONFIGURE_MINIMUM_TASK_STACK_SIZE + (6 * 1024)))
It was changed according to the comment. This seems to be appropriate since
Ada tasks are allocated from the POSIX thread pool.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list