...
- The buffer returned by this function will be padded according to the
padding_align
argument passed at creation of this memory segment. This is particularly useful with systems that use cache memory and DMA engine to copy buffers as it guarantees that nothing else will be allocated on the same cache line (as long as thepadding_align
argument is set to the length of a cache line). - For a an usage example of this function, refer to Memory Segments page.