Cache Line locking

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cache Line locking

830 次查看
walter95
Contributor I

Hi, I’m interested in using instructions for data cache locking. From the manual I saw there are instructions like dcbtls or dcblc for locking or unlocking cache lines. My idea is: suppose a core wants to use the variable y, before using y the core finds the address of y and it uses the instruction dcbtls for locking the cache line specified by the address found before. 
I have another question: how these instructions impact the allocation of data in the shared cache?

0 项奖励
回复
2 回复数

814 次查看
andrei_skok
NXP Employee
NXP Employee

Could you clarify what core is in question?

0 项奖励
回复

810 次查看
walter95
Contributor I

I'm referring to nxp t1040 platform, e5500 core. Each core should perform the procedure described above. This mechanism would serve me to provide predictable code behavior

 

@andrei_skok 

0 项奖励
回复