主权项 |
1. A computer-implemented method, comprising:
storing, by a processor of multiple processors in a computing system, multiple executable instructions and data in a shared cache memory, the shared cache memory shared between the multiple processors, wherein the storing includes:
storing the multiple executable instructions in a first partition of the shared cache memory that is restricted to storing the executable instructions, andstoring the data in a second partition that is outside of the first partition; receiving, by the processor, a request to store a first data in the shared cache memory; determining, by the processor, whether a first cache line to be evicted from the shared cache memory, for storing the first data, is an executable instruction that is stored in the first partition; and responsive to a determination that the first cache line is the executable instruction that is stored in the first partition, selecting, by the processor and based on a cache management policy, a second cache line located in the second partition to store the first data in. |