Re:Reading and writing are less symmetric than you (probably...
by thaumasiotes on Sunday November 01, 2026 @05:39AM
(#50324335)
What's the difference between erasing a cache and invalidating it?
[ Parent
| on HN ]
Re:Reading and writing are less symmetric than you (probably...
by tbrownaw on Sunday November 01, 2026 @08:23AM
(#50325445)
One doesn't have a piece of data, and the other has incorrect data.
Re:Reading and writing are less symmetric than you (probably...
by thaumasiotes on Sunday November 01, 2026 @03:00PM
(#50329158)
But "cache invalidation" is unconcerned with that. The problem of looking for data and reading the wrong data in the belief that it's right is called "memory corruption". "Cache invalidation" is when you used to have data cached, but you no longer do. And the problem that this causes is that your data takes longer to find, not that it becomes inaccurate.
You'll notice that removing entries from the cache causes exactly the same effects as changing the data that backs them.