Is there a simple method to keep memory coherent between two different cpus

kipade kipade at 163.com
Sun Mar 26 08:49:09 EDT 2017


Here I want to share a block of physical memory between two different cpus.
I want to simple use original real mode memory address.
Is there a simple way to invalid linux memory cache after writing to and 
before reading from it?
ex. invalid_cache_range(u32 phy_address, u32 length).


My cpu is arm. Thanks.




 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170326/ab8d3a57/attachment.html 


More information about the Kernelnewbies mailing list