Method and apparatus for performing process switching in multiprocessor computer systems
AssigneeIntel Corporation
InventorsGary N. Hammond, Koichi Yamada
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsGary N. Hammond, Koichi Yamada
Estimating the term…
A method and apparatus for reducing the amount of data copied during process switches. A method for reducing the amount of data copied during process switches is provided. In response to a processor performing a process switch to a process, a first write indication corresponding to the process is stored to indicate a first register file in the processor should not be saved. In response to the process causing the processor to write to the first register file, the first write indication is altered to indicate the first register file should be saved. In response to the processor performing a process switch from the process, a first value stored in the first register file is copied into a storage device accessible by the processor if the first write indication indicates the first register file should be saved. According to another aspect of the present invention, in response to a processor performing a process switch to a process, it is determined whether the process is likely to cause the processor to touch a first register file contained in the processor. If it was determined the process is likely to cause the processor to touch the first register file, a first value stored in a storage device accessible by the processor is loaded into the first register file. A first load indication is stored to indicate whether the first value was loaded in the preceding step. In response to the process attempting to cause the processor to touch the first register file while the first load indication indicates the first value is not loaded, the first value stored in the storage device is loaded into the first register file and the first load indication is altered to indicate the first value was loaded.
A processor comprising:
A computer system comprising:
A method comprising the computer implemented steps of:
A method comprising the computer implemented steps of:
A method comprising the computer implemented steps of:
Dependencies are inferred from the claim text.