In direct mapping, what happens if a cache line is already occupied when a new memory block needs to be loaded?
In direct mapping, each memory block is assigned to a specific cache line. If the cache line is already occupied by another block when a new block needs to be loaded, the old block is replaced or “trashed” to make room for the new block.