Patent ID: 7730279

Claim:
A computer program product comprising a computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to: set a size limit value for each local storage in a shadow local storage limit register of an associated synergistic processing element, wherein the local storage is one of a plurality of local storages in a data processing system, wherein the data processing system comprises a plurality of synergistic processing elements, wherein each synergistic processing element in the plurality of synergistic processing elements comprises a synergistic processing unit, one of the plurality of local storages, and a memory flow controller, and wherein the computer readable program to set the size limit value for each local storage in the shadow local storage limit register of the associated synergistic processing element further causes the computing device to: receive, in the memory flow controller of the associated synergistic processing element from a power processor element in the data processing system, an instruction to set the size limit value for the local storage; store the size limit value in a local storage limit register of a plurality of Memory Mapped I/O (MMIO) registers as a value specified by the instruction from the power processor element; and shadow the size limit value stored in the local storage limit register to the shadow local storage limit register in the local storage; receive a request to access the local storage of the associated synergistic processing element, wherein the request includes a request address; compare the request address in the received request to the shadowed size limit value stored in the shadow local storage limit register of the associated synergistic processing element; and access the local storage of the associated synergistic processing element using an access address determined based on the comparison.