Method and apparatus for creating a load module and a computer product thereof
AssigneeFujitsu Limited
InventorsHideo Miyake, Teruhiko Kamigata, Akiko Azegami
Life of this patent
Estimating the term…
Abstract
Data shared by plural processes of a program are identified and identification information is affixed to the shared data. When the program is linked by a linker, only the shared data to which identification information is affixed are extracted and a shared data area is created for the shared data. During program execution, this shared data area is prevented from being and the main memory is referred to or updated or the cache is invalidated prior to access of the shared data area by the linker. An address of data in a processor is computed from an address of the data in another processor based on a specific expression.
Claims15
A load-module creating method that creates a load module for a program that has plural processes, each process of the program being executed by one processor out of plural processors, the load-module creating method comprising:
- determining if, from amongst the plural processes of the program, at least two processes read the same data included in the program;
- affixing specific identification information to the data that is determined to be read by at least two processes of the program;
- and
- forming a non-cacheable area in a memory space where all the data to which the identification information is affixed are kept.
A load-module creating method that creates a load module for a program that has plural processes, each process of the program being executed by one processor out of plural processors, the load-module creating method comprising:
- determining if, from amongst the plural processes of the program, at least two processes read the same data included in the program;
- and
- affixing a cache-invalidate operation instruction to the data that is determined to be read by at least two processes of the program.
A computer program, tangibly embodied in a computer medium, that causes a computer to execute a method that creates a load module for a program that has plural processes, each process of the program being executed by one processor out of plural processors, the computer program comprising:
- determining if, from amongst the plural processes of the program, at least two processes read the same data included in the program;
- affixing specific identification information to the data that is determined to be read by at least two processes of the program;
- and
- forming a non-cacheable area in a memory space where all the data, to which the identification information is affixed, are kept.
A computer program that causes a computer to execute a method that creates a load module for a program that has plural processes, each process of the program being executed by one processor out of plural processors, the computer program comprising:
- determining if, from amongst the plural processes of the program, at least two processes read the same data included in the program;
- and
- affixing a cache-invalidate operation instruction to the data that is determined to be read by at least two processes of the program.
A load-module creating apparatus that creates a load module for a program that has plural processes, each process of the program being executed by one processor out of plural processors, the load-module creating apparatus comprising:
- a shared data determining unit that determines if, from amongst the plural processes of the program, at least two processes read the same data included in the program;
- an identification information affixing unit that affixes specific identification information to the data that is determined to be read by at least two processes of the program by the shared data determining unit;
- and
- a shared data area forming unit that forms a non-cacheable area in a memory space where all the data to which the identification information is affixed by the identification information affixing unit are kept.
A load-module creating apparatus that creates a load module for a program that has plural processes, each process of the program being executed by one processor out of plural processors, the load-module creating apparatus comprising, a shared data determining unit that determines, if from amongst the plural processes of the program, at least two processes read the same data included in the program;
- and
- a cache-invalidate operation instruction affixing unit that affixes a cache-invalidate operation instruction to the data that is determined to be read by at least two processes of the program by the shared data determining unit.
Dependencies are inferred from the claim text.