JPH01314356A - Key information processing system for multiprocessing system - Google Patents

Key information processing system for multiprocessing system

Info

Publication number
JPH01314356A
JPH01314356A JP63144738A JP14473888A JPH01314356A JP H01314356 A JPH01314356 A JP H01314356A JP 63144738 A JP63144738 A JP 63144738A JP 14473888 A JP14473888 A JP 14473888A JP H01314356 A JPH01314356 A JP H01314356A
Authority
JP
Japan
Prior art keywords
key
processor
tlb
read
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP63144738A
Other languages
Japanese (ja)
Inventor
Motoyoshi Hirose
元義 廣瀬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63144738A priority Critical patent/JPH01314356A/en
Publication of JPH01314356A publication Critical patent/JPH01314356A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To improve the efficiency of processing by confirming a processor which reads out a key by a recording means when key information is rewritten and information only the processor of the rewriting of the key. CONSTITUTION:At the time of a 'key' read due to a TLB(Translation Lookaside Buffer) miss, a main controller 3 sets and records a flag corresponding to one of processors (1-1) to (1-n) which makes a read in a flag register provided additionally to a 'key' storage 4. Then when one processor rewrites the 'key' on the 'key' storage 4, the contents of the flag register corresponding to the 'key' are read out at the same time and only a processor which holds a copy of the 'key' in the TLB is informed that the copy of the 'key' is invalidated. Consequently, a processor for 'key' information with which whether or not a fast TLB search is made is determined is obtained.

Description

【発明の詳細な説明】 〔概 要〕 本発明は複数個のプロセッサを有する多重処理計算機シ
ステムにおける“キー”の書き換え時の処理方式に関し
、 キー記憶装置の内容の書き換えがあった場合に、PPT
LB要求と共にプロセッサに送られる実アドレスがTL
Bエントリ中にあるか否かが不明であるため、常に全て
のTLBエントリを読み出しアドレスの照合を行う必要
があり、各プロセッサに不必要に大きな処理負担を強い
ていた間Uの解決を目的とし、 主制御装置内に、上記“キー”記憶装置内の各“キー”
情報毎に各プロセッサの読み出し動作を記録する手段と
、”キー”記憶装置内の“キー”情報の書き換えがなさ
れた際に、当該“キー”を読み出したプロセッサを上記
記録手段にて確認すると共に、該読み出しを行ったプロ
セッサに対してのみPPTLB要求を通知する手段とを
設けて構成する。
[Detailed Description of the Invention] [Summary] The present invention relates to a processing method when rewriting a "key" in a multiprocessing computer system having a plurality of processors.
The real address sent to the processor with the LB request is the TL
Since it is unknown whether the TLB entry is in the B entry or not, it is necessary to constantly read all TLB entries and check the addresses, which imposes an unnecessarily large processing burden on each processor. , Each “key” in the above “key” storage device is stored in the main controller.
Means for recording the readout operation of each processor for each information, and when the "key" information in the "key" storage device is rewritten, the processor that read out the "key" is confirmed by the recording means; , and means for notifying the PPTLB request only to the processor that has performed the reading.

〔産業上の利用分野〕[Industrial application field]

本発明は計算機システムにおいて記憶保護のために使用
される“キー“ (Key )の処理方式に関するもの
であり、特に複数のプロセッサを有する多重処理計算機
システムにおける“キー”の書き換え時の処理方式に関
するものである。
The present invention relates to a processing method for a "key" used for memory protection in a computer system, and particularly to a processing method for rewriting a "key" in a multiprocessing computer system having a plurality of processors. It is.

〔従来の技術〕[Conventional technology]

仮想アドレスを使用し、アドレス変換にて実アドレスを
求める計算機システムにおいては、通常セグメントテー
ブル、ページテーブルを使用し実アドレスを求める方式
が用いられるが、このテーブルを参照する時間をより短
縮する手段としてT L B (Translatio
nしaokaside Buffar)が使用される。
In computer systems that use virtual addresses and obtain real addresses through address conversion, a method is usually used to obtain real addresses using segment tables and page tables. T L B (Translation
A side buffer) is used.

(TLBはアクセスタイムの速い素子で作られており、
その時点でのアクセス頻度の高いページの仮想アドレス
を、実アドレスとの対応表にして格納したものである。
(TLB is made of elements with fast access time,
The virtual addresses of pages that are frequently accessed at that time are stored in a correspondence table with real addresses.

)複数のプロセッサを含む多重処理の計算機システムに
おいては、このTLBは各プロセッサ毎に設けられ、第
5図の如き構成となっている。
) In a multi-processing computer system including a plurality of processors, this TLB is provided for each processor and has a configuration as shown in FIG.

第5図は、複数のプロセッサを有する多重処理計算機シ
ステムの構成図を示し、 図において、51−1〜51−nはプロセッサ、52−
1〜52−nはプロセッサ中のTLB、53は主制御装
置、54はキー記憶袋! (KS)、55は主記憶装置
を表している。
FIG. 5 shows a configuration diagram of a multiprocessing computer system having a plurality of processors, in which 51-1 to 51-n are processors, 52-
1 to 52-n are TLBs in the processor, 53 is a main controller, and 54 is a key storage bag! (KS), 55 represents a main storage device.

この様な多重処理システムにおける主記憶装置55の記
憶保護については52−1〜52−nで示すTLB中に
は、その実アドレスに対応する“キー”の写しの情報を
含ませ、あるプロセッサが主記憶装置55にアクセスす
る場合は該当する実アドレスに対するTLBエントリ中
の“キー”の写しの情報とプロセッサが持つPSWキー
との一致が調べられ、その結果でアクセスの可否が決め
られる。
Regarding the memory protection of the main memory device 55 in such a multiprocessing system, the TLBs indicated by 52-1 to 52-n contain information of a copy of the "key" corresponding to the real address, and a certain processor When accessing the storage device 55, it is checked whether the information on the copy of the "key" in the TLB entry for the corresponding real address matches the PSW key held by the processor, and whether access is permitted or not is determined based on the result.

所で、複数のプロセッサ51−1〜51−nを有するシ
ステムにおいては、あるプロセッサがデータ処理の過程
で“キー”記憶装置54の内容を書き換える場合があり
、この場合能のプロセッサが持つ同一アドレスに対する
TLBエントリ中の1キー1情報の写しは無効となる。
By the way, in a system having a plurality of processors 51-1 to 51-n, a certain processor may rewrite the contents of the "key" storage device 54 in the process of data processing, and in this case, the same address held by a capable processor may be rewritten. A copy of the 1 key 1 information in the TLB entry for the 1 key is invalid.

従来の多重処理システムでは、 “キー”記憶装置54の内容が書き換わった場合は、各
プロセッサ内のT L B 52−1〜52−nの同一
アドレスに対する1キー”情報の写しを無効化するため
に、各プロセッサ51−1〜51−nに対して、TLB
無効化要求信号(PPTLB要求と称す)S−1〜S−
nと、該当する実アドレスをバス信号線に−1〜に一〇
にてプロセッサに送出する。
In a conventional multiprocessing system, when the contents of the "key" storage device 54 are rewritten, copies of the "1 key" information for the same address in the TLBs 52-1 to 52-n in each processor are invalidated. Therefore, for each processor 51-1 to 51-n, TLB
Invalidation request signals (referred to as PPTLB requests) S-1 to S-
n and the corresponding real address are sent to the processor on the bus signal line at -1 to 10.

各プロセッサ51−1〜51−nは、該PPTLB要求
S−L 〜S−nを受けた場合はT L B 52−1
〜52−n内の内容を逐次読み出し、アドレスが一致す
るものがあればそのTLBエントリを無効化する。
When each processor 51-1 to 51-n receives the PPTLB request S-L to S-n, the processor 51-1 to 51-n
The contents in ~52-n are read out sequentially, and if there is a matching address, that TLB entry is invalidated.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来の多重処理システムにおいては、各プロセッサにP
PTLB要求と共に送られるアドレスは実アドレスであ
るため、各プロセッサはTLBエントリの内容を逐次読
み出し一致するものがあるかどうか調べ、一致したもの
があればそのエントリを無効化する。
In conventional multiprocessing systems, each processor has P
Since the address sent with the PTLB request is a real address, each processor sequentially reads the contents of the TLB entries to see if there is a match, and if there is a match, invalidates that entry.

この方法では、該実アドレスがTLBエントリ中にある
か否かが不明であるため、常に全てのTLBエン) I
Jを読み出し照合を行う必要がある。所が、一般に各プ
ロセッサは各々異なるタスクを実行しており同じ実アド
レスが異なるTLB中にエントリされていることはまれ
であり、上記の如く全てのTLBエントリを読み出し照
合を行うことは、無駄が多く、又、各プロセッサに不必
要に大きな処理負担を強いることになる。従来例では、
上記問題点を解決するために“キー”記憶内容の書き換
えのあった場合にTLBエントリの読み出し及び照合(
TLBサーチ)を行うか否かを高速に決定するために、
TLBエン) IJの逆変換を行う等の専用のハードウ
ェア装置を設ける必要があった。
In this method, it is unknown whether the real address is in a TLB entry or not, so all TLB entries are always
It is necessary to read J and perform verification. However, in general, each processor executes a different task, and it is rare for the same real address to be entered in different TLBs, so it is wasteful to read and check all TLB entries as described above. This also imposes an unnecessarily large processing burden on each processor. In the conventional example,
In order to solve the above problem, when the "key" memory contents are rewritten, the TLB entry can be read and verified (
In order to quickly decide whether or not to perform a TLB search,
TLB en) It was necessary to provide a dedicated hardware device to perform inverse conversion of IJ.

本発明は、上述の問題点に鑑みなされたものであり、P
PTLB要求の処理のための特別な専用のハードウェア
装置を設けることなく、わずかのハードウェアの追加だ
けで、高速にTLBサーチを行うか否かを決定できる“
キー”情報の処理装置を提供することを目的とする。
The present invention was made in view of the above-mentioned problems, and
It is possible to quickly decide whether or not to perform a TLB search with only a small amount of hardware addition, without having to install a special dedicated hardware device for processing PTLB requests.
The purpose is to provide a "key" information processing device.

〔課題を解決するための手段〕[Means to solve the problem]

本発明によれば、上述の目的は、前記特許請求の範囲に
記載した手段により達成される。
According to the invention, the above-mentioned object is achieved by the means specified in the claims.

すなわち、本発明は、 主記憶装置を共有する複数個のプロセッサを有し、咳プ
ロセッサ中には仮想アドレスを実アドレスに高速変換す
るための対応表を格納した記憶装置(TLB)を設け、
かつ、上記TLB中には実アドレスに対応した“キー”
情報の写しを登録させ、プロセッサが主記憶装置にアク
セスする際には、TLB中の“キー”の写しと、ブロモ
1゛すが保持するPSWキーとで、!ji、”キー”の
一致をm認する多重処理計算機システムにおいて、主制
御装置内に、上記キー記憶装置内の各“キー″情報毎に
各プロセッサの読み出し動作を記録する手段と、“キー
”記憶装置内の“キー”情報の書き換えがなされた際に
、当該“キー”を読み出したプロセッサを上記記録手段
にて確認すると共に、該読み出しを行ったプロセッサに
対してのみキー書き換えがなされたことを通知する手段
とを設けたことを特徴とする多重処理システムの“キー
”情報処理方式プロセッサは、論理アドレスを実アドレ
スに変換する際に、TLBの内容を検索し、一致するも
のがあればTLBの内容を使用し、存在しなければ(T
LBミス)、動的アドレス変換(DAT)により実アド
レスを求め、さらに、当該実アドレスの“キー”記憶の
内容を読み出しTLB中に“キー”の写しの登録を行う
That is, the present invention has a plurality of processors that share a main memory, and the processor is provided with a memory (TLB) that stores a correspondence table for rapidly converting virtual addresses to real addresses.
In addition, in the TLB above, there is a “key” corresponding to the real address.
When a copy of the information is registered and the processor accesses the main memory, it uses a copy of the "key" in the TLB and the PSW key held by Bromo 1. ji, in a multi-processing computer system that recognizes the coincidence of "keys", means for recording read operations of each processor for each "key" information in the key storage device in the main controller; When the "key" information in the storage device is rewritten, the processor that read the "key" is confirmed using the recording means, and the key is rewritten only for the processor that read the "key". When converting a logical address into a real address, the "key" information processing method processor of the multiprocessing system is characterized in that it is provided with a means for notifying the user. Use the contents of TLB, and if it does not exist (T
LB miss), the real address is determined by dynamic address translation (DAT), and the contents of the "key" storage of the real address are read out and a copy of the "key" is registered in the TLB.

このTLBミスによる“キー”読み出し時に、主制御装
置は“キー″記憶装置に付加して設けられたフラグレジ
スタ中の読み出したプロセッサに対応するフラグをセッ
トし、記録しておく。
When a "key" is read due to this TLB error, the main controller sets and records a flag corresponding to the read processor in a flag register provided in addition to the "key" storage device.

次に、あるプロセッサより1キー1書換えが“キー”記
憶装置に対しなされた時には、同時に該“キー”に対応
するフラグレジスタの内容を読み出し、該“キー”の写
しをTLB中に保持するプロセッサに対してのみ、“キ
ー”の写しが無効になったことを通知する。
Next, when a one-key one-by-one rewrite is performed on the "key" storage device by a certain processor, the processor simultaneously reads the contents of the flag register corresponding to the "key" and holds a copy of the "key" in the TLB. only to be notified that the copy of the “key” is no longer valid.

〔実施例〕〔Example〕

第1図は、本発明の適用される多重処理システムの構成
図を示し、図において、1−1〜1−口はプロセッサ、
2−1〜2−nは各プロセッサ中のTLB、3は主制御
装置、4はキー記憶装置(KS)、5は主記憶装置、英
字群a−1〜a−nはPPTLB要求信号線、b−1x
 b−nは各プロセッサへのバス信号線を表している。
FIG. 1 shows a configuration diagram of a multiprocessing system to which the present invention is applied, and in the figure, 1-1 to 1-ports are processors;
2-1 to 2-n are TLBs in each processor; 3 is a main controller; 4 is a key storage device (KS); 5 is a main storage device; alphabetical groups a-1 to a-n are PPTLB request signal lines; b-1x
bn represents a bus signal line to each processor.

図において、本発明に関係しない部分は図面の見易さの
ために省略されている。第1図の構成は、従来の技術の
項で説明した構成と、本発明に関連した部分を除いて同
様であり、詳しい説明は省略するが、 本発明は図中の主制御袋R3内に適用されるものであり
、“キー”記憶装置4に関連して下記実施例が構成され
る。
In the figures, parts not related to the present invention are omitted for clarity of the drawings. The configuration of FIG. 1 is the same as the configuration explained in the prior art section except for parts related to the present invention, and detailed explanation will be omitted. The following embodiments are constructed in connection with the "key" storage device 4.

第2図は、本発明の一実施例の回路ブロック図を示し、
6−1〜6−nは、プロセッサ1−1〜1−nにそれぞ
れ対応するバッファレジスタ、7は優先権回路、8は優
先権回路の出力保持用のバッファレジスタ、9は“キー
”読出し動作を記憶するフラグレジスタ、10はフラグ
書込み制御回路、11はPPTLB要求制御回路、L2
−’L〜12−nは各プロセッサ1−1〜1−nに対す
るPPTLBアドレス保持用のバッファレジスタ、英字
群c−1〜G−11は各プロセッサに接続されるバス信
号線、d−1〜d−nは各プロセッサへのPPTLB要
求信号線、e−L〜e−nは各プロセッサへのPPTL
B要求アドレス信号線、fはアドレス信号線、gは制御
信号線、hは“キー”の読み出し書込みを行うためのデ
ータ信号線を表している。
FIG. 2 shows a circuit block diagram of an embodiment of the present invention,
6-1 to 6-n are buffer registers corresponding to processors 1-1 to 1-n, respectively, 7 is a priority circuit, 8 is a buffer register for holding the output of the priority circuit, and 9 is a "key" read operation. 10 is a flag write control circuit, 11 is a PPTLB request control circuit, L2
-'L~12-n are buffer registers for holding PPTLB addresses for each processor 1-1~1-n, alphabetical groups c-1~G-11 are bus signal lines connected to each processor, d-1~ d-n is a PPTLB request signal line to each processor, and e-L to e-n are PPTL lines to each processor.
B is a request address signal line, f is an address signal line, g is a control signal line, and h is a data signal line for reading and writing a "key".

以下に、本実施例の構成とその動作について説明する。The configuration and operation of this embodiment will be explained below.

プロセッサ1−1〜l−nの“キー”記憶袋[24への
アクセスは、バッファレジスタ6−1〜6−n及び各プ
ロセッサl−1〜1−nに対しアクセスの優先順位を付
与する優先回路7及び、バッファレジスタ8を介して行
われる。
Access to the "key" storage bags [24] of the processors 1-1 to l-n is performed using a priority system that gives access priority to the buffer registers 6-1 to 6-n and each processor l-1 to l-1-n. This is done via a circuit 7 and a buffer register 8.

“キー”記憶装置4には主記憶上の1ページに対応して
1つの“キー”が付与され、各プロセッサのTLBエン
トリ中には該“キー”の写しが含まれている。
One "key" is assigned to the "key" storage device 4 corresponding to one page in the main memory, and a copy of the "key" is included in the TLB entry of each processor.

キー記憶装置4に対し、各プロセッサからの“キー”読
み出し動作を記憶保持するフラグレジスタ9及びその書
込み制御回路10が設けられ、どのプロセッサがどの“
キー”を読み出したかが記録される。
The key storage device 4 is provided with a flag register 9 for storing and holding the "key" read operation from each processor, and its write control circuit 10.
It is recorded whether the "key" has been read.

今あるプロセッサにて、“キー”内容の書換が行われた
場合は、該フラグレジスタ9の内容が読み出されPPT
LB制御回路11にて、該“キー”内容を過去に読み出
したプロセッサに対してのみPPTLB要求を信号線d
−1〜d−nにより送出する。
When the "key" contents are rewritten in an existing processor, the contents of the flag register 9 are read out and the PPT
The LB control circuit 11 sends a PPTLB request to the signal line d only to the processor that has read the contents of the "key" in the past.
-1 to dn.

又、書き換えられた“キー”情報のアドレスはアドレス
信号線f及びバッファレジスタ12−1〜12−nを介
して、PPTLBアドレスとして信号*a−1〜e−口
により各プロセッサに送出される。
Further, the address of the rewritten "key" information is sent to each processor by signals *a-1 to e- as a PPTLB address via the address signal line f and buffer registers 12-1 to 12-n.

第3図は、フラグレジスタ9へのフラグの書込み制御回
路10のブロック図を示し、図において、8−1は有効
ビット、8−2はファンクションビット、8−3はID
、8−4はアドレス、8−5はデータ、13はファンク
ションデコーダ、14はIDデコーダ、  16−1〜
16−nはAND回路、英字符lはフラグ書込み許可信
号線、1d−1〜1d−nはプロセッサ番号選択線を表
している。
FIG. 3 shows a block diagram of the flag write control circuit 10 to the flag register 9. In the figure, 8-1 is a valid bit, 8-2 is a function bit, and 8-3 is an ID.
, 8-4 is an address, 8-5 is data, 13 is a function decoder, 14 is an ID decoder, 16-1~
16-n represents an AND circuit, the letter 1 represents a flag write enable signal line, and 1d-1 to 1d-n represent processor number selection lines.

他の符号は第2図と同じである。Other symbols are the same as in FIG.

優先権回路7と接続されるバッファレジスタ8はそのビ
ット構成を、有効ピッ)8−1、ファンクションビット
8−2、ID・・・8−3、アドレス8−4、データ8
−5としている。
The buffer register 8 connected to the priority circuit 7 has the following bit configuration: valid bit 8-1, function bit 8-2, ID...8-3, address 8-4, data 8.
-5.

また、フラグレジスタ9は“キー”記憶装置へのアドレ
ス8−4を行方向とし、システム内のプロセッサの個数
nを列方向とするマトリックス状のビット構成を取る。
Further, the flag register 9 has a matrix-like bit configuration with the address 8-4 to the "key" storage device in the row direction and the number n of processors in the system in the column direction.

今、あるプロセッサが“キー”記憶装置内の“キー”読
み取りを行った場合の、フラグの書込み動作を説明する
と、あるプロセッサが読み取る“キー”記憶装置のアド
レスがバッファレジスタ8中のアドレス、8−4に保持
され、アドレス有効ビット8−1、ファンクション8−
2、ファンクションデータ13及びAND回路15によ
り、フラグレジスタ9への書込み許可が調べられ、また
、■Dビット8−3及びIDデコーダ14にて“キー”
記憶装置の読取りを行うプロセッサの番号が特定され、
信号m1d−1〜1d−n中の一本の線が有効となり、
前記書込許可信号線1との論理積がAND回路16−1
〜16−nで行われ、該当するビットにフラグがセット
される。
Now, to explain the flag writing operation when a certain processor reads a "key" in the "key" storage device, the address of the "key" storage device read by a certain processor is the address in the buffer register 8, -4, address valid bit 8-1, function 8-
2. The function data 13 and the AND circuit 15 check the write permission to the flag register 9, and the D bit 8-3 and the ID decoder 14 check the "key"
The number of processors that read the storage device is identified;
One line in the signals m1d-1 to 1d-n becomes valid,
The logical product with the write permission signal line 1 is an AND circuit 16-1.
~16-n, and a flag is set in the corresponding bit.

次に“キー”の書き換えが行われた場合の動作について
説明する。
Next, the operation when the "key" is rewritten will be explained.

第4図は、PPTLB制御回路11のブロック図を示し
、17はAND回路、18−1〜18−nはN。
FIG. 4 shows a block diagram of the PPTLB control circuit 11, in which 17 is an AND circuit, and 18-1 to 18-n are N circuits.

T回路、19−1〜19−nはAND回路(3人力)、
20−1〜20−口はフリップ70ツブ(FF)、英字
符」−1〜j−nはフラグレジスタの読み出し信号線を
表している。
T circuit, 19-1 to 19-n are AND circuits (3-man power),
20-1 to 20- are flip 70 tubes (FF), and alphabetical characters "-1 to j-n" represent read signal lines of the flag register.

他の符号については第2図〜第3図と同様である。Other symbols are the same as in FIGS. 2 and 3.

あるプロセッサが“キー”の書き換えを行っり場合は、
バッファレジスタ8のファンクション8−2はデコーダ
13により、キー書き換え要求(SSK要求)が判定さ
れ、有効ビット8−1とAND回路17により論理積が
取られその有効性が調べられる。また、IDデコーダ1
4、NOT回路18−1〜18−nによりSSK要求元
以外のプロセッサの番号が選択され、またレジスタ8内
のアドレス8−4で指標されるフラグレジスタ9の内容
が信号線j−1= j−nに読み出され、AND回路1
9−1〜19−n及びフリップ70ツブ20−1〜20
−〇により最終的にSSK要求元なるプロセッサではな
く、かつ、フラグがセットされているプロセッサに対し
てのみPPTLB要求を信号線d−1〜d−nにより送
出する。それと共に、“キー”のアドレス8−4で指標
されるフラグレジスタ9のフラグを全てクリアとし初期
状態に戻す。
If a certain processor rewrites the “key”,
The function 8-2 of the buffer register 8 determines a key rewrite request (SSK request) by the decoder 13, and performs a logical product with the valid bit 8-1 by the AND circuit 17 to check its validity. Also, ID decoder 1
4. The number of the processor other than the SSK request source is selected by the NOT circuits 18-1 to 18-n, and the contents of the flag register 9 indexed by the address 8-4 in the register 8 are set to the signal line j-1=j. -n, AND circuit 1
9-1 to 19-n and flip 70 knobs 20-1 to 20
- By ◯, the PPTLB request is sent through signal lines d-1 to d-n only to the processor whose flag is set and not to the processor that ultimately becomes the SSK request source. At the same time, all flags in the flag register 9 indexed by the address 8-4 of the "key" are cleared and returned to the initial state.

PPTLB要求を受けたプロセッサは、TLBエントリ
中に、当該SSK要求に係る“キー”の写しを保持して
いる可能性が高いので該プロセッサのみがTLBの内容
をサーチして一致するものがあればそのTLBエントリ
を無効化する。
The processor that receives the PPTLB request is likely to have a copy of the "key" related to the SSK request in the TLB entry, so only that processor will search the TLB contents and if a match is found. Invalidate that TLB entry.

〔発明の効果〕〔Effect of the invention〕

“キー”書換えが行われた場合に、当該“キー”の写し
をTLB中に保持しているプロセッサのみがTLBサー
チを行えば良く、また、−船釣に、異なるプロセッサが
共有領域以外でTLB中に同−実アドレス及びその“キ
ー”の写しを持ち、かつ当該“キー”を他のプロセッサ
が書き換えることはまれであり、従来行われていた大部
分のTLBサーチが省略でき、著しい処理効率の向上が
図れる。
When a “key” is rewritten, only the processor that holds a copy of the “key” in the TLB needs to perform a TLB search; It contains a copy of the same real address and its "key", and it is rare for another processor to rewrite the "key", and most of the TLB searches that were conventionally performed can be omitted, resulting in significant processing efficiency. can be improved.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の適用される多重処理システムの構成図
、第2図は本発明の一実施例の回路ブロック図、第3図
はフラグ書込み回路のブロック図、第4図はPPTLB
要求制御回路のブロック図、第5図は多重処理システム
構成図である。 1−1〜l−n・・・・・・プロセッサ、2−1〜2−
n・・・・・・TLB、3・・・・・・主制御装置、4
・・・・・・“キー”記憶装置(KS)、5・・・・・
・主記憶装置、6−1〜6−n・・・・・・バッファレ
ジスタ、7・・・・・・優先権回路、8・・・・・・バ
ッファレジスタ、9・・・・・・フラグレジスタ、10
・・・・・・書込み制御回路、11・・・・・・PPT
LB要求10・・・・・・書込み制御回路、11・・・
・・・PPTLB要求制御回路、12−1〜12−n・
・・・・・バッファレジスタ、13・・・・・・ファン
クションデコーダ、14・・・・・・IDデコーダ、1
5. 16−1〜16−n、 17. 19−1〜19
−n・−・−・−AND回路、18−1〜18−n−−
N OT回路、20−1〜20−1・・・・・・フリッ
プフロップ、a−1〜a−n・・・・・・PPTLB要
求信号、b−1〜b−n・・・・・・各プロセッサへの
バス信号線、c−1〜c−n・・・・・・各プロセッサ
へのバス信号線、d−1=d−n・・・・・・PPTL
B要求信号線、e−1〜e−n・・・・・・PPTLB
要求アドレス信号線、f・・・・・・アドレス信号線、
g・・・・・・制御言号線、h・・・・・・データ信号
線、i・・・・・・フラグ書込み許可信号線、1d−1
〜1d−n・・・・・・プロセッサ番号選択信号線、」
−1〜j−n・・・・・・フラグレジスタの読み出し信
号線
Fig. 1 is a block diagram of a multiprocessing system to which the present invention is applied, Fig. 2 is a circuit block diagram of an embodiment of the present invention, Fig. 3 is a block diagram of a flag writing circuit, and Fig. 4 is a PPTLB.
A block diagram of the request control circuit, and FIG. 5 is a configuration diagram of a multiprocessing system. 1-1~l-n... Processor, 2-1~2-
n...TLB, 3...Main controller, 4
..."Key" storage device (KS), 5...
・Main storage device, 6-1 to 6-n...Buffer register, 7...Priority circuit, 8...Buffer register, 9...Flag register, 10
...Write control circuit, 11...PPT
LB request 10...Write control circuit, 11...
... PPTLB request control circuit, 12-1 to 12-n.
... Buffer register, 13 ... Function decoder, 14 ... ID decoder, 1
5. 16-1 to 16-n, 17. 19-1~19
-n・-・-・-AND circuit, 18-1 to 18-n--
N OT circuit, 20-1 to 20-1... flip-flop, a-1 to a-n... PPTLB request signal, b-1 to b-n... Bus signal line to each processor, c-1 to c-n...Bus signal line to each processor, d-1=d-n...PPTL
B request signal line, e-1 to e-n...PPTLB
Request address signal line, f...address signal line,
g...Control word line, h...Data signal line, i...Flag write permission signal line, 1d-1
〜1d-n...Processor number selection signal line,''
-1~j-n...Flag register read signal line

Claims (1)

【特許請求の範囲】 主記憶装置を共有する複数個のプロセッサを有し、該プ
ロセッサ中には仮想アドレスを実アドレスに高速変換す
るための対応表を格納したTLBを設け、かつ、上記T
LB中には実アドレスに対応したキー情報の写しを登録
させ、プロセッサが主記憶装置にアクセスする際には、
TLB中のキーの写しと、該プロセッサが保持するキー
情報とで、該キーの一致を確認する多重処理計算機シス
テムにおいて、 主制御装置内に、キー記憶装置内の各キー情報毎に各プ
ロセッサのTLB登録のためのキーの読出し動作を記録
する手段と、 キー記憶装置内のキー情報の書き換えがなされた際に、
当該キーを読み出したプロセッサを上記記録手段にて確
認すると共に、該読み出しを行ったプロセッサに対して
のみキーの書き換えがなされたことを通知する手段とを
設けたことを特徴とする多重処理システムのキー情報処
理方式。
[Scope of Claims] A plurality of processors sharing a main storage device are provided, and each processor is provided with a TLB storing a correspondence table for rapidly converting a virtual address to a real address, and the TLB described above is provided.
A copy of the key information corresponding to the real address is registered in the LB, and when the processor accesses the main memory,
In a multi-processing computer system that verifies the coincidence of a key between a copy of the key in the TLB and key information held by the processor, the main controller includes a controller for each processor for each key information in the key storage device. A means for recording key read operations for TLB registration, and when key information in the key storage device is rewritten,
A multi-processing system characterized by comprising means for confirming the processor that read the key using the recording means and for notifying only the processor that read the key that the key has been rewritten. Key information processing method.
JP63144738A 1988-06-14 1988-06-14 Key information processing system for multiprocessing system Pending JPH01314356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63144738A JPH01314356A (en) 1988-06-14 1988-06-14 Key information processing system for multiprocessing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63144738A JPH01314356A (en) 1988-06-14 1988-06-14 Key information processing system for multiprocessing system

Publications (1)

Publication Number Publication Date
JPH01314356A true JPH01314356A (en) 1989-12-19

Family

ID=15369202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63144738A Pending JPH01314356A (en) 1988-06-14 1988-06-14 Key information processing system for multiprocessing system

Country Status (1)

Country Link
JP (1) JPH01314356A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4866335A (en) * 1971-12-13 1973-09-11
JPS4973936A (en) * 1972-11-15 1974-07-17
JPS5447531A (en) * 1977-09-22 1979-04-14 Fujitsu Ltd Memory control system for multi-processor system possessing intermediate buffer memory
JPS5720984A (en) * 1980-07-14 1982-02-03 Nec Corp Multiprocessor system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS4866335A (en) * 1971-12-13 1973-09-11
JPS4973936A (en) * 1972-11-15 1974-07-17
JPS5447531A (en) * 1977-09-22 1979-04-14 Fujitsu Ltd Memory control system for multi-processor system possessing intermediate buffer memory
JPS5720984A (en) * 1980-07-14 1982-02-03 Nec Corp Multiprocessor system

Similar Documents

Publication Publication Date Title
JP3493409B2 (en) Computer equipment
US5493660A (en) Software assisted hardware TLB miss handler
US6523118B1 (en) Secure cache for instruction and data protection
US5265227A (en) Parallel protection checking in an address translation look-aside buffer
EP1934753B1 (en) Tlb lock indicator
US5119290A (en) Alias address support
JP3666689B2 (en) Virtual address translation method
JPS60221851A (en) Data processor and memory access controller used therefor
CA2057494A1 (en) Translation lookaside buffer
US4831581A (en) Central processor unit for digital data processing system including cache management mechanism
JPH04320553A (en) Address converting mechanism
JPS59180767A (en) Serializer
US7472227B2 (en) Invalidating multiple address cache entries
EP0365117B1 (en) Data-processing apparatus including a cache memory
EP0519685A1 (en) Address translation
JPH0519176B2 (en)
JPH0371355A (en) Apparatus and method for retrieving cache
JPH03154949A (en) Method and system for protection of stored data
JPH01314356A (en) Key information processing system for multiprocessing system
JPH055137B2 (en)
JPS5922315B2 (en) Buffer memory control method
JPS6059621B2 (en) Buffer invalidation control method
JPS5818710B2 (en) memory system
JP3293872B2 (en) Cache matching method
JPS6252339B2 (en)