Hacker News new | ask | show | jobs
by ryanpetrich 770 days ago
Memory barriers don't force a flush of all CPU cache. They will enforce the ordering of memory operations issued before and after the barrier instruction, preserving the contents of the CPU's various caches.