[PATCH] RTEMS: Increase MSIZE from 128 to 256

Joel Sherrill Joel.Sherrill at OARcorp.com
Thu Oct 31 23:17:23 UTC 2013


My original version of this change wrapped it in an RTEMS new stack macro.

Chris Johns <chrisj at rtems.org> wrote:


On 1/11/2013 12:11 am, Sebastian Huber wrote:
> This change is necessary to support IPv6.  It affects applications using
> the current network stack of RTEMS since this will half the mbuf count
> in the system.

I am not sure about this change going into 4.11. If the new stack went
in as well that is a different story.

Because of the long time frame between 4.10 and 4.11 (yes some people
have got married and had children), users are having to using 4.11.

Can this sit out of the changes until 4.11 and then go in ?

Chris

>
> newlib/ChangeLog
> 2013-10-31  Sebastian Huber  <sebastian.huber at embedded-brains.de>
>
>       * libc/sys/rtems/machine/param.h (MSIZE): Increase to 256.
> ---
>   newlib/libc/sys/rtems/machine/param.h |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/newlib/libc/sys/rtems/machine/param.h b/newlib/libc/sys/rtems/machine/param.h
> index e815941..6bf6b65 100644
> --- a/newlib/libc/sys/rtems/machine/param.h
> +++ b/newlib/libc/sys/rtems/machine/param.h
> @@ -54,7 +54,7 @@
>    * of the hardware page size.
>    */
>   #ifndef     MSIZE
> -#define MSIZE                128             /* size of an mbuf */
> +#define MSIZE                256             /* size of an mbuf */
>   #endif      /* MSIZE */
>
>   #ifndef     MCLSHIFT
>
_______________________________________________
rtems-devel mailing list
rtems-devel at rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel




More information about the devel mailing list