CPC G06F 12/0871 (2013.01) [G06F 9/45558 (2013.01); G06F 12/0646 (2013.01); G06F 12/0811 (2013.01); G06F 12/0846 (2013.01); G06F 12/0873 (2013.01); G06F 2009/45583 (2013.01)] | 19 Claims |
1. A method for controlling memory handling in a processing system comprising a cache and a plurality of processing units, wherein the cache is a last level cache shared among the plurality of processing units and wherein the last level cache has a plurality of cache portions allocated respectively to corresponding processing units of the plurality of processing units, in which a first cache portion of the plurality of cache portions is allocated to a first processing unit of the plurality of processing units, the method comprising:
obtaining first information pertaining to:
an allocation of a first memory portion of a memory to a first application;
an allocation of the first processing unit of the plurality of processing units to the first application; and
an association between the first cache portion of the plurality of cache portions to the first memory portion and the first processing unit;
receiving information regarding transfer of the first application running on the first processing unit to another processing unit of the plurality of processing units;
determining whether a reconfiguration of a mapping configuration of the first memory portion to the first cache portion is required, based on the received information regarding the transfer of the first application running on the first processing unit to the other processing unit;
reconfiguring the mapping configuration of the first memory portion to a different cache portion from the first cache portion, based on a determination that a reconfiguration of the mapping configuration is required; but retaining the mapping configuration of the first memory portion to the first cache portion, based on a determination that the reconfiguration of the mapping configuration is not required; and
controlling transfer of first data associated with the first application between the first memory portion and the other processing unit via use of the different cache portion, when reconfiguration of the mapping configuration of the first memory portion to the different cache portion is required.
|