[whymb] Missing writeback
Closed this issue · 1 comments
kalaider commented
Before CPU0 can mark its cache line as "shared", the line must be written back to main memory to prevent data loss. It is worth mentioning here as long as we are concerned with main memory at all.
perfbook/appendix/whymb/whymemorybarriers.tex
Lines 792 to 796 in 1dd2b89
perfbook/appendix/whymb/whymemorybarriers.tex
Lines 892 to 898 in 1dd2b89
paulmckrcu commented
Good point, thank you!
This is addressed by commit e68dcb9 ("appendix/whymb: Add QQ on cachelines in dirty shared state") with your Reported-by.