Re:CacheOut: Leaking Data on Intel CPUs via Cache Evictions
by Tuna-Fish on Saturday February 01, 2020 @05:08AM
(#22209738)
It does happen, and not just for two different processes.
For example, a common trick to implement an efficient circular list for objects of varying size is to map the same physical addresses twice in adjacent locations. Then you can just use a pointer to the start of each object and have no special handling for the case where an object straddles the end of the allocated area.
Ah yes, of course. Is this something that actually happens (e.g. because of processes sharing memory, OS hands out different virtual addresses pointing to the same physical memory) or theoretical in nature?