Hi all, I want to store the memory data in LLC. However I am not sure when the data is updated in QEMU correspondingly. If the data is modified in LLC in ptlsim, is it modified in QEMU simultaneously?
Considering the lifetime of a cache block in LLC which has been modified several times before evicted to the main memory: 1. cache_insert_cb() function first inserts the data block from the main memory into the cache. So I can use context::loadvirt() function here to load the original data. (namely old_data) 2. send_update_message(): Before it is evicted, it use send_update_message() to update the main memory. SO I can use context::loadvirt() function again to get the latest data in main memory (namely new_data). Am I right? However, I found that the new_data is always the same as the old_data. So I wonder when the memory data is written in QEMU actually? (corresponds to the ptlsim function) _______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
