linux - How to flush out the Shared function data from CPU cache -


i creating shared data 2 processes , after reading data cpu cache, want flush out shared function data cpu cache. able find starting address of particular shared data in cache memory unable find last address.

i can flush address using clflush(address) cpu cache. challenge how flush function , , know starting address of function.

is there way find last address of shared data/function in cpu cache? using gcc under linux.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -