Demote instruction for relinquishing cache line ownership
First Claim
1. A method for relinquishing cache ownership of a cache line, the method comprising executing, by a selected processor of a multi-processor system, a demote instruction, the demote instruction specifying a logical address, the multi-processor system comprising a multi-cache system and a cache coherency ownership scheme for providing any one of shared ownership and exclusive ownership of a cache line to caches of the multi-processor system, an exclusively owned cache line configured to be accessible, by a processor, in only one cache of the multi-cache system, the only one cache having the exclusively owned cache line, a shared ownership cache line configured to be accessible, by processors, in a plurality of caches of the multi-cache system, the plurality of caches having the shared ownership cache line, the executing the demote instruction performing a method comprising:
- based on the specified logical address, determining whether a cache line of the cache system, is exclusively owned by a selected cache of the selected processor;
based on determining that the cache line is exclusively owned by the selected cache of the selected processor, relinquishing, by the selected cache, exclusive ownership of the cache line; and
based on executing the demote instruction, the selected processor completes all pending stores before relinquishing the exclusive ownership of the cache line, wherein the relinquishing the exclusive ownership of the cache line comprises setting the ownership of the cache line of the selected cache to any one of shared ownership or read-only allowing a processor of the multiprocessor system to immediately be given exclusive ownership to that cache line without waiting on any processor'"'"'s explicit cross invalidate acknowledgement, and wherein execution of the demote instruction performs no architectural update.
3 Assignments
0 Petitions
Accused Products
Abstract
A computer system microprocessor core having a cache subsystem executes a demote instruction to cause an exclusively owned demote instruction specified cache line owned by the same microprocessor core to be shared or read-only.
-
Citations
14 Claims
-
1. A method for relinquishing cache ownership of a cache line, the method comprising executing, by a selected processor of a multi-processor system, a demote instruction, the demote instruction specifying a logical address, the multi-processor system comprising a multi-cache system and a cache coherency ownership scheme for providing any one of shared ownership and exclusive ownership of a cache line to caches of the multi-processor system, an exclusively owned cache line configured to be accessible, by a processor, in only one cache of the multi-cache system, the only one cache having the exclusively owned cache line, a shared ownership cache line configured to be accessible, by processors, in a plurality of caches of the multi-cache system, the plurality of caches having the shared ownership cache line, the executing the demote instruction performing a method comprising:
-
based on the specified logical address, determining whether a cache line of the cache system, is exclusively owned by a selected cache of the selected processor; based on determining that the cache line is exclusively owned by the selected cache of the selected processor, relinquishing, by the selected cache, exclusive ownership of the cache line; and based on executing the demote instruction, the selected processor completes all pending stores before relinquishing the exclusive ownership of the cache line, wherein the relinquishing the exclusive ownership of the cache line comprises setting the ownership of the cache line of the selected cache to any one of shared ownership or read-only allowing a processor of the multiprocessor system to immediately be given exclusive ownership to that cache line without waiting on any processor'"'"'s explicit cross invalidate acknowledgement, and wherein execution of the demote instruction performs no architectural update. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system for relinquishing cache ownership of a cache line, the system comprising:
-
a selected private cache; and a selected processor of a multi-processor system, the selected processor communicatively coupled to said selected private cache, each processor of the multi-processor system comprising an associated private cache of a multi-cache system, the multi-cache system comprising a cache coherency ownership scheme configured to provide any one of shared ownership and exclusive ownership of a cache line to private caches of the multi-cache system, an exclusively owned cache line configured to be accessible, by a processor, in only one cache of the multi-cache system, the only one cache having the exclusively owned cache line, a shared ownership cache line configured to be accessible, by processors, in a plurality of caches of the multi-cache system, the plurality of caches having the shared ownership cache line, the selected processor configured to perform a method, the method comprising executing, by the selected processor of a multi-processor system, a demote instruction, the demote instruction specifying a logical address, the executing the demote instruction performing a method comprising; based on the specified logical address, determining whether a cache line of the selected private cache, is exclusively owned by the selected private cache of the selected processor; based on determining that the cache line is exclusively owned by the selected private cache, relinquishing, by the selected private cache, exclusive ownership of the cache line; and based on executing the demote instruction, the selected processor completes all pending stores before relinquishing the exclusive ownership of the cache line, wherein the relinquishing the exclusive ownership of the cache line comprises setting the ownership of the cache line of the selected cache to any one of shared ownership or read-only allowing a processor of the multiprocessor system to immediately be given exclusive ownership to that cache line without waiting on any processor'"'"'s explicit cross invalidate acknowledgement, and wherein execution of the demote instruction performs no architectural update. - View Dependent Claims (10, 11, 12, 13, 14)
-
Specification