Cache Line locking

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cache Line locking

1,258件の閲覧回数
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 返答(返信)

1,242件の閲覧回数
andrei_skok
NXP Employee
NXP Employee

Could you clarify what core is in question?

0 件の賞賛
返信

1,238件の閲覧回数
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 件の賞賛
返信