Patent ID: 8271994
Filing Date: 2012-09-18
Classification: G06F

Abstract:
1. A computer-implemented method comprising: prior to switching context of a processor having local memory from a first process to a second process, determining a portion of the local memory that does not require transfer to system memory for proper saving of data associated with the first process to the system memory, without interaction with the first process itself such that the first process is not involved in the determining; switching the context of the processor from the first process to the second process, including transferring all of the local memory as the data associated with the first process to the system memory, except for the portion of the local memory that has been determined as not requiring saving to the system memory for proper saving of the data associated with the first process to the system memory, prior to switching the context of the processor from the first process to the second process, executing the first process by the processor; and, after switching the context of the processor from the first process to the second process, executing the second process by the processor, wherein switching the context of the processor from the first process to the second process further includes transferring a portion of the system memory associated with the second process to the local memory of the processor, for use by the second process during execution of the second process by the processor, wherein determining the portion of the local memory that does not require transfer to the system memory for proper saving of the data associated with the first process to the system memory comprises determining the portion of the local memory as both: wherein the local memory of the processor is non-cache memory and is located on-die to the processor, wherein the first and the second processes are not involved in determining at what point of the first process the context of the processor is switched from the first process to the second process, and wherein a user does not a priori specify at what point of the first process the context of the processor is switched from the first process to the second process.