摘要 |
One embodiment of the present invention provides a system that prevents store starvation in a computer system that supports marked coherence. The system starts by receiving a store instruction to be executed. The system then determines whether a cache line to which the store is directed is load-marked. If so, the system delays the store operation and asserts a store-requested flag in the metadata for the cache line, wherein when the store-requested flag is asserted, no subsequent load-marks can be placed on the cache line. Then, when all of the load-marks have been removed from the cache line, the system completes the store operation.
|