Method of controlling cache memory in multiprocessor system and the multiprocessor system based on detection of predetermined software module
First Claim
1. A multiprocessor system comprising:
- a plurality of processors each including a cache memory and accessing stored data via said cache memory;
a main memory shared among said plurality of processors;
a module detecting device possessed by each of said processors for detecting execution of a software module for accessing a shared memory area on said main memory; and
an access control device possessed by each of said processors for controlling memory access executed in response to an accessing software module identifier detected by said module detecting device in a cache control protocol in a store-through scheme which updates said main memory simultaneously with update of said cache memory or for controlling memory access in other than said detection case in a cache control protocol in a store-in scheme which does not update said main memory at update of said cache memory, wherein said module detecting device comprises a first virtual space number register and a first instruction segment number register in which virtual space number of software modules in all processes which can access said shared memory area on said main memory and numbers of instruction segments storing instruction codes for said software modules are preset respectively, a second virtual space number register and a second instruction segment number register for respectively holding a virtual space number and a number of an instruction segment storing an instruction code for a software module which attempts to access the stored data via said cache memory, first and second comparators for comparing the virtual space numbers and the numbers of instruction segments stored in said four respective registers, and a logical circuit for detecting whether a match is detected in both said first and second comparators.
1 Assignment
0 Petitions
Accused Products
Abstract
Cache control protocols can be switched during running without changing an architecture for a segment descriptor or page descriptor for indicating an attribute of an area to be accessed. A plurality of processors each including a cache memory constitute a multiprocessor system which shares a main memory via a system bus. Each processor has module detecting means for detecting execution of a module which accesses a shared memory area on the main memory, by comparing the virtual space number and the instruction segment number concerning the accessing module with those numbers concerning the software modules preset which may access the shared memory area. Memory access executed in a module detected by the module detecting means is controlled in a cache control protocol of a store-through scheme which updates a main memory simultaneously with update of a cache memory. Memory access executed in other modules is controlled in a cache control protocol of a store-in scheme which does not update a main memory at update of a cache memory.
29 Citations
2 Claims
-
1. A multiprocessor system comprising:
-
a plurality of processors each including a cache memory and accessing stored data via said cache memory;
a main memory shared among said plurality of processors;
a module detecting device possessed by each of said processors for detecting execution of a software module for accessing a shared memory area on said main memory; and
an access control device possessed by each of said processors for controlling memory access executed in response to an accessing software module identifier detected by said module detecting device in a cache control protocol in a store-through scheme which updates said main memory simultaneously with update of said cache memory or for controlling memory access in other than said detection case in a cache control protocol in a store-in scheme which does not update said main memory at update of said cache memory, wherein said module detecting device comprises a first virtual space number register and a first instruction segment number register in which virtual space number of software modules in all processes which can access said shared memory area on said main memory and numbers of instruction segments storing instruction codes for said software modules are preset respectively, a second virtual space number register and a second instruction segment number register for respectively holding a virtual space number and a number of an instruction segment storing an instruction code for a software module which attempts to access the stored data via said cache memory, first and second comparators for comparing the virtual space numbers and the numbers of instruction segments stored in said four respective registers, and a logical circuit for detecting whether a match is detected in both said first and second comparators. - View Dependent Claims (2)
-
Specification