Invalidating a cache

Once an object is cached, it normally remains in the cache until it expires or is evicted to make room for new content.

invalidating a cache-18invalidating a cache-65invalidating a cache-87

Also rambling th/ the BSP code for ARMv7 device I found recommendation to invalidate destination buffer before a DMA transfer.Is there a scenario in which invalidate followed by flush will be useful?Flush does write back the contents of cache to main memory, and invalidate does mark cache lines as invalid so that future reads go to main memory.I have some questions on cache synchronization operations.Invalidate: Before cpu tries to read a portion of memory updated by a device, the corresponding memory needs to be invalidated.

Leave a Reply