Can I remove the DSPLINK_ALIGN when I call MSGQ_alloc for the MSGQ buffers?
The message size must be a multiple of DSP L2 cache line size. This is required to ensure that the buffers are aligned on cache line boundary. This is essential to ensure that there is no cache corruption when we perform cache coherence operations on the message contents, which includes the message header and payload. If application writer has specified exactMatchReq as FALSE when creating the POOL that holds the message buffers, and you have ensured, during POOL configuration, that the buffer sizes are multiples of DSP L2 cache size, then when MSGQ_alloc is called, even without the DSPLINK_ALIGN (and it is a smaller size than 128 bytes), the POOL will return you the next highest size, which will be an aligned size. However, if you have specified exactMatchReq as TRUE, then MSGQ_alloc will fail if application writer does not use DSPLINK_ALIGN to align the size to cache line boundary. If application writer configures the POOL with non-aligned sizes, you will see non-deterministic behavi
Related Questions
- My Zoosk application on my social network and my Zoosk.com account are linked together. Can I remove the app but login directly via Zoosk.com?
- Common Landscaping: Can my neighborhood remove its common area landscaping and/or landscape buffers?
- How to get rid of acne? Is there anything worse than acne?