发明名称 System and method for updating from a read-only to a read-write entry and concurrently invalidating stale cache copies from head-to-tail and tail-to-head directions
摘要 Cache-coherence computer systems represent cache-lines associated with their processors by linked and shared lists, which can be read-only or read-write. In read-only lists all cache-line copies are the same and may be read by multiple processors at the same time, while read-write lists allow only the head of the list to write to its cache and to invalidate stale cache entries after writing. Main memory of the system always points to the head of the list and includes indications of memory-line states for fresh, stale or no cache line exists. A memory line becomes stale when its associated cache line is modified. A read-write processor seeking to update a cache line requires updating the list from read-only to read-write. A copy of the tail entry is created and made the head of the list, resulting in one entry being in two places on the list. The cache is then updated and invalidation starts concurrently in both directions from head-to-tail and from tail-to-head. Having concurrent fast forward and backward invalidations improves the overall invalidation time about four times over a slow forward invalidation alone.
申请公布号 US6496907(B1) 申请公布日期 2002.12.17
申请号 US19990426058 申请日期 1999.10.22
申请人 APPLE COMPUTER, INC. 发明人 JAMES DAVID V.
分类号 G06F12/08;(IPC1-7):G06F12/00 主分类号 G06F12/08
代理机构 代理人
主权项
地址