Method and apparatus for active software disown of cache line's exlusive rights
First Claim
1. A method for operating a computer system having a storage controller and a processing unit have a cache memory involving various ownership states as to a cache line, which states include a read-only or shared state and an exclusive state for holding the line exclusively, for software-initiated modification by hardware while the line is in said exclusive state, comprising the steps of:
- activating interface controls for allowing software running on said computer system to indicate to the processing unit that its storage modification of a particular cache line in the exclusive state is done, and will not be doing any modification for the time being, for an active software indication to disown a cache line'"'"'s exclusive rights, andcommunicating with said storage controller said software indication that its storage modification of said particular cache line is done and that any modification will not be done for the time being,executing a demote request with regard to said particular cache line indicated by said software indication in said processing unit to cause the processing unit to actively relinquish control of its exclusive ownership of said particular cache line, andpreemptively updating the ownership status in the storage controller of said particular cache line to a read-only or shared state and with said preemptive updating removing delays due to cross interrogates (XIs) that would have otherwise been encountered by another processor should that another processor request an exclusive ownership to the actively relinquished particular cache line.
1 Assignment
0 Petitions
Accused Products
Abstract
Software indicates to hardware of a processing system that its storage modification to a particular cache line is done, and will not be doing any modification for the time being. With this indication, the processor actively releases its exclusive ownership by updating its line ownership from exclusive to read-only (or shared) in its own cache directory and in the storage controller (SC). By actively giving up the exclusive rights, another processor can immediately be given exclusive ownership to that said cache line without waiting on any processor'"'"'s explicit cross invalidate acknowledgement. This invention also describes the hardware design needed to provide this support.
-
Citations
19 Claims
-
1. A method for operating a computer system having a storage controller and a processing unit have a cache memory involving various ownership states as to a cache line, which states include a read-only or shared state and an exclusive state for holding the line exclusively, for software-initiated modification by hardware while the line is in said exclusive state, comprising the steps of:
-
activating interface controls for allowing software running on said computer system to indicate to the processing unit that its storage modification of a particular cache line in the exclusive state is done, and will not be doing any modification for the time being, for an active software indication to disown a cache line'"'"'s exclusive rights, and communicating with said storage controller said software indication that its storage modification of said particular cache line is done and that any modification will not be done for the time being, executing a demote request with regard to said particular cache line indicated by said software indication in said processing unit to cause the processing unit to actively relinquish control of its exclusive ownership of said particular cache line, and preemptively updating the ownership status in the storage controller of said particular cache line to a read-only or shared state and with said preemptive updating removing delays due to cross interrogates (XIs) that would have otherwise been encountered by another processor should that another processor request an exclusive ownership to the actively relinquished particular cache line. - View Dependent Claims (2)
-
-
3. A computer system, comprising:
-
a computer system having a storage controller and a processing unit coupled to cache memory involving various ownership states as to a cache line, which states include a read-only or shared state and an exclusive state for holding the line exclusive for software modification by hardware during the time that the line is in said exclusive state, and interface controls for allowing software running on said computer system to indicate to the hardware of the processing unit that its storage modification of a particular cache line in the exclusive state is done, and will not be doing any modification for the time being, for an active software indication to disown a cache line'"'"'s exclusive rights, and said interface controls having an interface receiving mechanism for communicating with said storage controller said software indication that its storage modification of said particular cache line is done and that any modification will not be done for the time being, said interface controls preventing a premature launch of a demote request, and executing said a demote request with regard to said particular cache line indicated by said software indication in said processing unit to cause the processing unit to actively relinquish control of its exclusive ownership of said particular cache line and preemptively updating the ownership status in the storage controller of said particular cache line to a read-only or shared state and with said preemptive updating removing delays due to cross interrogates (XIs) that would have otherwise been encountered by another processor should that another processor request an exclusive ownership to the actively relinquished particular cache line. - View Dependent Claims (4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer system comprising:
-
a storage controller, a plurality of processors forming a processing unit and a cache subsystem, and a cache interface establishing a direct connection between a processor and a storage controller upon receipt of a demote request issued by a processor of the processing units, said demote request being in response to an active software indication provided via software input to disown a cache line'"'"'s exclusive rights of a processor to a particular cache line, and preemptively updating the ownership status in said storage controller of said computer system for said particular cache line upon receipt of said demote request to a read-only or shared state with said preemptive updating removing delays due to cross interrogates (XIs) that would have otherwise been encountered by another processor should that another processor request an exclusive ownership to the actively relinquished particular cache line. - View Dependent Claims (12)
-
-
13. A method of managing storage updates in a computer system, comprising:
-
providing via software input an active software indication to disown a particular cache line'"'"'s exclusive rights when that a particular cache line is no longer required for any further storage update by a processor owning said particular cache line for store access, and treating said software indication that said particular cache line is no longer required for any further storage update as an indication that the processor is at the end of its last storage updating and can be demoted from its storage access status to be next used by any of various processes that are running on said computer system , and preemptively updating the ownership status in a storage controller of said computer system for said particular cache line to a read-only or shared state with said preemptive updating removing delays due to cross interrogates (XIs) that would have otherwise been encountered by another processor should that another processor request an exclusive ownership to the actively relinquished particular cache line. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
Specification