各位TI工程师好,想问下一般分配内存会怎么划分,由于数据量比较大,我就把system字段分配到ddr上,但是通过malloc分配的内存好像地址不对齐,无法对齐到cache line边界,在多核场景下容易出现数据一致性问题,请问下这种问题一般该如何解决?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
各位TI工程师好,想问下一般分配内存会怎么划分,由于数据量比较大,我就把system字段分配到ddr上,但是通过malloc分配的内存好像地址不对齐,无法对齐到cache line边界,在多核场景下容易出现数据一致性问题,请问下这种问题一般该如何解决?
您好,我们已收到您的问题并升级到英文论坛寻求帮助,链接如下,如有答复将尽快回复您:
e2e.ti.com/.../tms320c6678-malloc-allocation-memory-address-misalignment-issue