Re: Fence for Malloc'ed Memory Characterization

2022-04-06 Thread Sebastian Huber
On 05/04/2022 00:44, Joel Sherrill wrote: Where is the memory fence for allocations added? How much? Does it adjoin at the low and high end? If you enable RTEMS_DEBUG, then there is a fence present (heap protection block). -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178

Fence for Malloc'ed Memory Characterization

2022-04-04 Thread Joel Sherrill
Hi Where is the memory fence for allocations added? How much? Does it adjoin at the low and high end? If I malloc(1), what does the layout look like? Low Fence of N bytes 1 byte ??? Fence Filler High Fence of N bytes When is it checked? I didn't find the word fence in the