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.

两个核都在共享内存写入数据,但是数据不能同步



我的cache配置是如下的:

L1Pcache 32k byte

L1Dcache 32k byte

L2cache 0k byte.

然后核0、核1都把数据写入到共享内存中:

CACHE_WBL1D();写入到共享内存

CACHE_WBINVALL1D();更新用的

1.在没有操作系统的时候,利用上面的函数核1和核0都能看到对方写的数据。

2.在有操作系统的时候,就不能看到对方写的数据了。

请问哪位高手能大概指引一下是什么原因导致的吗?