JPH1078884A - Method for restoring data using virtual storage - Google Patents

Method for restoring data using virtual storage

Info

Publication number
JPH1078884A
JPH1078884A JP8232306A JP23230696A JPH1078884A JP H1078884 A JPH1078884 A JP H1078884A JP 8232306 A JP8232306 A JP 8232306A JP 23230696 A JP23230696 A JP 23230696A JP H1078884 A JPH1078884 A JP H1078884A
Authority
JP
Japan
Prior art keywords
page
processing
data
program
page table
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
JP8232306A
Other languages
Japanese (ja)
Inventor
Norikazu Iwata
憲和 岩田
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP8232306A priority Critical patent/JPH1078884A/en
Publication of JPH1078884A publication Critical patent/JPH1078884A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To preserver and restore data without describing any data to be restored or any timing of preservation or the like in a program by a person who prepares a program. SOLUTION: The writable bits of a page descripter in a page table 122 are turned off. A program processing part 111 advances the processing of a program, and generates interruption when a writing request is made to a page in which the writable bits of the page descripter in the page table 122 are turned off. A data preservation processing part 112 reserves the pertinent page content of a memory 120 in a disk 130 according to this interruption, and turns on the writable bits. Afterwards, a program processing part 111 operates writing to the pertinent page. When abnormality is found at a check point, a data restoration processing part 113 returns a page preserved in the disk 130 at that point to the memory 120.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、仮想記憶方式を備
えた計算機におけるデータ復旧方法に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data recovery method in a computer having a virtual storage system.

【0002】[0002]

【従来の技術】従来、計算機による情報処理では、実行
中にプログラムの誤りあるいはハードウェアの障害など
の原因からプログラムの作成者にとって予想外の状況が
発生する可能性があるため、ある時点のメモリ上のデー
タをディスクのような不揮発性記憶装置に保存し、保存
が完了してから本来目的とする処理を進め、もし異常事
態に陥っていたことがわかった場合には、処理を中断
し、保存してあった値をメモリ上に戻し、保存時の状態
(プロセッサの状態であるコンテクスト)を再現して処
理を再開する、という一連の復旧処理を行っていた。図
4は、この種の従来の復旧処理のフローチャートを示し
たものである。
2. Description of the Related Art Conventionally, in information processing by a computer, an unexpected situation for a program creator may occur during execution due to a program error or a hardware failure. The above data is stored in a non-volatile storage device such as a disk, and after the storage is completed, the intended processing is advanced. If it is found that an abnormal situation has occurred, the processing is interrupted. A series of recovery processing of returning the stored value to the memory, resuming the state at the time of storage (the context that is the state of the processor), and restarting the processing has been performed. FIG. 4 shows a flowchart of such a conventional restoration process.

【0003】一方、仮想記憶方式の計算機では、プロセ
ッサが処理を進めるプログラムに記述されたアドレス
(論理アドレス)から計算機に実際に装備されたメモリ
の番地(実アドレス)を求めるアドレス変換機構を備え
ている。図2はセグメンテーションページング方式のア
ドレス変換機構であり、論理アドレス200のセグメン
トフィールドSm、ページフィールドPmによりセグメ
ントテーブル210、ページテーブル220−1〜22
0−Nを順次索引してページ記述子内の実ペードアドレ
スを求め、該実ページアドレスにページ内相対アドレス
を結合してメモリの該当ページ230の番地(アドレス
変換先番地)を得ることを示している。図3はページン
グ方式のアドレス変換機構であり、論理アドレス300
のページフィールドPnによりページテーブル310を
直接索引してページ記述子内の実ページアドレスを求
め、該実ページアドレスにページ内相対変位Dを結合し
てアドレス変換先番地を得ることを示している。なお、
図2及び図3の高速変換バッファ240、330は、最
近にアドレス変換して求まった論理アドレスと実ページ
アドレスの対応を格納しておき、セグメントテーブルや
ページテーブルの索引に先立って該変換バッファを参照
し、論理アドレスに対応する実アドレスが格納されてい
れば、該実アドレスを直接入手するものである。
On the other hand, a computer of the virtual storage system has an address conversion mechanism for obtaining an address (real address) of a memory actually provided in the computer from an address (logical address) described in a program for processing by a processor. I have. FIG. 2 shows an address conversion mechanism of the segmentation paging system.
The actual page address in the page descriptor is obtained by sequentially indexing 0-N, and the relative address in the page is combined with the actual page address to obtain the address (address conversion destination address) of the corresponding page 230 in the memory. Is shown. FIG. 3 shows an address conversion mechanism of a paging system, and a logical address 300
Indicates that the actual page address in the page descriptor is obtained by directly indexing the page table 310 using the page field Pn, and the relative address D in the page is combined with the actual page address to obtain the address conversion destination address. In addition,
The high-speed conversion buffers 240 and 330 shown in FIGS. 2 and 3 store the correspondence between the logical address and the real page address obtained by recent address conversion, and store the conversion buffer before the index of the segment table or the page table. If the real address corresponding to the logical address is stored by reference, the real address is directly obtained.

【0004】ここで、ページテーブルのページ記述子
は、参照ビット、更新ビット・アクセス権情報などを含
み、計算機のオペレーティングシステムはページング、
スワッピングのために利用している。高速変換バッファ
の各エントリも、同様にこのページ記述子の写を格納し
ている。アドレス変換機構は、ページ記述子の参照ビッ
トを、その参照ビットを含むページ記述子が対応づけて
いるページのメモリ上の番地をプロセッサが参照したと
きにONにする。また、アドレス変換機構は、ページ記
述子の更新ビットを、その更新ビットを含むページ記述
子が対応づけているページのメモリ上の番地にプロセッ
サが書き込み動作を行ったときにONにする。この両ビ
ットの値を計算機のオペレーティングシステムが参照し
て、内容が参照あるいは書き込まれたことのあるページ
はページアウトしないようにしたり、一度ページアウト
したことのあるページの内容が更新されたことがなけれ
ば、再度同じ内容をページアウトしない処理を実現して
いる。また、ページ記述子のアクセス権情報は読み込み
可能ビット、書き込み可能ビットなどから構成される。
ここで、書き込み可能ビットがOFF(書き込み禁止)
のページ記述子に対応づけられているページのメモリ上
の番地にプロセッサが書き込みを行なおうとすると、プ
ロセッサにメモリ保護割り込みが発生し、プロセッサは
割り込み処理ルーチンを実行することになる。
Here, the page descriptor of the page table includes reference bits, update bit access right information, and the like.
Used for swapping. Each entry in the high-speed conversion buffer also stores a copy of this page descriptor. The address translation mechanism turns on the reference bit of the page descriptor when the processor refers to the memory address of the page associated with the page descriptor including the reference bit. The address translation mechanism turns on the update bit of the page descriptor when the processor performs a write operation on the memory address of the page associated with the page descriptor including the update bit. The operating system of the computer refers to the values of both bits to prevent page out of pages where the contents have been referenced or written, or to update the contents of pages that have been paged out once. If not, the same content is not paged out again. The access right information of the page descriptor is composed of a readable bit, a writable bit, and the like.
Here, the writable bit is OFF (write prohibited)
When the processor attempts to write to the address of the page corresponding to the page descriptor of the page in the memory, a memory protection interrupt occurs in the processor, and the processor executes the interrupt processing routine.

【0005】[0005]

【発明が解決しようとする課題】データの保存・復旧で
は、「どういうデータ」と「いつ保存」するかが重要で
ある。しかし、図4のような従来の方法は、プログラム
の作成者が、どういう順序で、どのデータの値を更新し
ていくかを詳細かつ正確に把握し、復旧対象とするデー
タと保存のタイミングを決める必要があるため、複雑で
誤りを生じやすいという問題があった。
In saving and restoring data, "what data" and "when to save" are important. However, in the conventional method as shown in FIG. 4, the program creator grasps in detail and exactly which data value is to be updated in what order, and determines the data to be restored and the timing of storage. Because of the need to decide, there was a problem that it was complicated and error-prone.

【0006】本発明の目的は、ページテーブル内のペー
ジ記述子を利用し、プロセッサがメモリにデータの書き
込みを行なおうとした時に、その書き込もうとした番地
を含むページを単位としてディスクなどの不揮発性記憶
装置に保存することによって、「どういうデータ」を
「いつ保存するか」をプログラムの作成者が考慮しなく
て済む仮想記憶利用のデータ復旧方法を提供することに
ある。
SUMMARY OF THE INVENTION An object of the present invention is to use a page descriptor in a page table so that when a processor attempts to write data to a memory, a nonvolatile memory such as a disk is used in units of a page including the address to be written. It is an object of the present invention to provide a data recovery method using virtual storage, in which a program creator does not need to consider “what data” and “when to save” by storing the data in a storage device.

【0007】[0007]

【課題を解決するための手段】復旧が必要なデータはプ
ロセッサが値を変更したデータに限られる。従って、プ
ロセッサが値の変更をしようとする寸前の状態を保存し
ておけば、後からその状態を再現して、プログラムを再
度実行する、という復旧方法が実現できる。このため
に、本発明では、ページ記述子に含まれる書き込み可能
ビットをOFFとしておき、プロセッサがあるページの
データを変更しようとした時に、見掛上メモリ保護割り
込みを発生させ、その割り込み処理ルーチンで変更しよ
うとしたページの内容をディスク等に保存するのと同時
に、プロセッサの(プログラムカウンタやレジスタの値
から構成される)コンテクストを保存する。保存が完了
した後、プロセッサはデータを変更するという本来の処
理を進める。この手順を進めれば、データの更新の度
に、更新前のメモリとコンテクストを保存することが可
能である。なお、そのページが本来の書き込み禁止領域
かどうかは、割込みハンドラ等が判断することで、ペー
ジ記述子の書き込み可能ビットを本来のものと区別して
設ける必要はない。復旧処理では、保存の順番とは逆
に、ディスクから保存したページの内容を元のメモリに
戻し、その時点のコンテクストを設定する。この一連の
手順をオペレーティングシステムで実現することによ
り、オペレーティングシステム以外のプログラムの作成
者は、どういうデータを、いつ保存するかを考慮しなく
て済む。
The data that needs to be restored is limited to data whose value has been changed by the processor. Therefore, if the state immediately before the processor attempts to change the value is stored, a recovery method can be realized in which the state is reproduced later and the program is executed again. For this reason, in the present invention, the write enable bit included in the page descriptor is set to OFF, and when the processor attempts to change the data of a certain page, an apparent memory protection interrupt is generated, and the interrupt processing routine executes At the same time that the contents of the page to be changed are saved on a disk or the like, the context (consisting of the program counter and register values) of the processor is saved. After the storage is completed, the processor proceeds with the original processing of changing the data. By proceeding with this procedure, it is possible to save the memory and context before updating each time data is updated. It is not necessary to provide the writable bit of the page descriptor separately from the original page by determining whether the page is the original write-protected area by the interrupt handler or the like. In the restoration process, the content of the page saved from the disk is returned to the original memory, and the context at that time is set, contrary to the order of saving. By implementing this series of procedures in an operating system, a creator of a program other than the operating system does not need to consider what data is stored and when.

【0008】[0008]

【発明の実施の形態】以下、本発明の一実施例を図面に
より説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings.

【0009】図1は、本発明を実施する計算機システム
の構成例を示すブロック図である。図1において、プロ
セッサ110、メモリ120およびディスク(不揮発性
記憶装置)はバス140で接続されている。プロセッサ
110は、プログラムの処理を実行するプログラム処理
部111、割込み処理でメモリ120の書き込み前のペ
ージとコンテキストをディスク130へ保存するデータ
保存処理部112、ディスク130から保存したページ
とコンテキストをメモリ120に戻すデータ復旧処理部
113、および高速変換バッファ114などから構成さ
れる。なお、プロセッサ110はオペレーティングシス
テム(OS)を具備するが、図1では省略する。メモリ
120内には、アドレス変換のためのセグメントテーブ
ル121やページテーブル122などがあり、ページテ
ーブル122の各エントリのページ記述子に、図2や図
3に示した参照ビット、更新ビット、及び、読み込み可
能ビットや書き込み可能ビットのアクセス権情報などが
格納されている。高速変換バッファ114はメモリ12
0内に設けてもよい。
FIG. 1 is a block diagram showing a configuration example of a computer system for implementing the present invention. In FIG. 1, a processor 110, a memory 120, and a disk (non-volatile storage device) are connected by a bus 140. The processor 110 includes a program processing unit 111 that executes a process of a program, a data storage processing unit 112 that saves a page and a context before writing in the memory 120 to the disk 130 in an interrupt process, and a page and a context saved from the disk 130 in the memory 120. And a high-speed conversion buffer 114. Note that the processor 110 includes an operating system (OS), but is omitted in FIG. In the memory 120, there are a segment table 121 and a page table 122 for address translation, and the page descriptor of each entry of the page table 122 includes a reference bit, an update bit, and a reference bit shown in FIGS. The access right information of a readable bit and a writable bit is stored. The high-speed conversion buffer 114 is a memory 12
It may be provided within 0.

【0010】図5は、本発明のデータ復旧方法の一実施
例の処理フローチャートであり、以下に、この図5に従
って説明する。
FIG. 5 is a processing flowchart of an embodiment of the data recovery method according to the present invention, which will be described below with reference to FIG.

【0011】プログラムはいくつかの処理段階あるいは
時間の経過(チェックポイント)に分けられるので、そ
れを、順に処理(1)、処理(2)、…、処理(n)と
名付け、以下では処理(k)で代表して述べる。kは
1、2、…、nを表わす。プログラムをいくつかの段階
に分ける手法は、オペレーティングシステムがプログラ
ムに対したタイマ例外を代表とする例外を通知すること
によって実現でき、この場合、プログラム作成者は段階
に分ける考慮が不要になる。
Since the program is divided into several processing stages or the passage of time (checkpoint), they are named as processing (1), processing (2),..., Processing (n) in order, and hereinafter, processing (n) k). k represents 1, 2,..., n. The method of dividing the program into several stages can be realized by the operating system notifying the program of an exception typified by a timer exception. In this case, the program creator does not need to consider the steps.

【0012】ステップ1:初期設定 ページテーブル内の全エントリのページ記述子の更新ビ
ットをOFFにする。同様に、ページテーブル内の全エ
ントリのページ記述子の書き込み可能ビットをOFFに
する。また、何度まで復旧処理を繰り返すか、その値を
設定する。その後、ステップ2へ移る。
Step 1: Initial setting The update bits of the page descriptors of all entries in the page table are turned off. Similarly, the writable bits of the page descriptors of all entries in the page table are turned off. Also, the number of times the restoration process is repeated or the value is set. Thereafter, the process proceeds to step 2.

【0013】ステップ2:プログラム処理とデータの保
存 ステップ2はプログラム処理部111の処理のステップ
2−1とデータ保存処理部112の処理のステップ2−
2に分けられる。
Step 2: Program processing and data storage Step 2 is Step 2-1 of the processing of the program processing unit 111 and Step 2- of the processing of the data storage processing unit 112
Divided into two.

【0014】ステップ2−1:処理(K) プログラムの処理を進める。ここで、ページテーブルの
ページ記述子の書き込み可能ビットがOFFのページに
対する書き込みがあると、割り込みが発生してステップ
2−2へ移る。そして、ステップ2−2の処理が終了し
たなら、該当ページへの書き込みを実行する。この時、
ページ記述子の更新ビットがONになる。処理(k)が
終わったら、即ち、次のチェックポイントにきたらステ
ップ3へ移る。
Step 2-1: Processing (K) The processing of the program is advanced. Here, if there is a write to a page whose write enable bit of the page descriptor of the page table is OFF, an interrupt occurs and the process proceeds to step 2-2. Then, when the processing of step 2-2 is completed, writing to the corresponding page is executed. At this time,
The update bit of the page descriptor is turned ON. When the process (k) is completed, that is, when the next check point is reached, the process proceeds to step 3.

【0015】ステップ2−2:データ保存 メモリのコンテクストとページテーブルと書き込み前の
ページ内容を、割込み処理でディスクに保存する。この
とき、保存したページテーブルのどのページ記述子に対
応するページを保存したかが分かるようにする。ページ
テーブルの該当ページ記述子の書き込み可能ビットをO
Nにし、ステップ2−1に戻す。なお、本来の書き込み
禁止ページに対して書き込みが試みられた場合(この場
合も、該当ページ記述子の書き込み可能ビットはOFF
になっている)、このステップ2−2は実行しないよう
にし、かわって本来のアクセス例外割込みを発生させ
る。
Step 2-2: Data Storage The context of the memory, the page table, and the page contents before writing are stored in the disk by interrupt processing. At this time, it is made clear which page descriptor of the stored page table corresponds to the stored page. Set the writable bit of the corresponding page descriptor of the page table to O.
N and return to step 2-1. When writing is attempted on the original write-protected page (in this case also, the writable bit of the corresponding page descriptor is OFF.
This step 2-2 is not executed, and an original access exception interrupt is generated instead.

【0016】ステップ3:処理(k)の終了判定 プログラムの処理(k)が、プログラムの誤りやハード
ウェアの障害がなく終了したかどうかを判定する。この
判定は、プロセッサがもつ障害割り込み機能を用いた
り、プログラム内に検査処理手順を設けておくことによ
り実現する。正常に終了した場合は、ステップ4へ移
る。正常でない場合は、ステップ5へ移る。 ステップ4:ページテーブルの設定 ページテーブルの各ページ記述子の書き込み可能ビット
をOFFにする。同様に、テーブルの各ページ記述子の
更新ビットをOFFにする。その後、処理(k)の次の
段階の処理(k+1)を実行するためにステップ2へ移
る。あるいは処理(k)で終了する場合には、プログラ
ムの処理を終了する。
Step 3: Judgment of end of process (k) It is judged whether or not the process (k) of the program has been completed without any program error or hardware failure. This determination is realized by using a failure interrupt function of the processor or by providing a check processing procedure in a program. If the operation has been completed normally, the process proceeds to step S4. If it is not normal, go to step 5. Step 4: Set page table Turn off the writable bit of each page descriptor of the page table. Similarly, the update bit of each page descriptor of the table is turned off. Thereafter, the process proceeds to step 2 in order to execute the process (k + 1) at the next stage of the process (k). Alternatively, when the processing ends in the process (k), the processing of the program ends.

【0017】ステップ5:メモリ、コンテクストの復旧 処理(k)が始まって以降のページ内容はステップ2−
2によりディスク上に保存されているので、それをメモ
リ上に書き戻す。現状のページテーブルを処理(k)が
始まってから最初に保存したページテーブルに変更す
る。現状のコンテクストを処理(k)が始まってから最
初に保存したコンテクストに変更する。コンテクストが
復旧したことによってステップ2へ移る。これにより、
処理(k)の再実行を開始することになる。なお、ステ
ップ5では、復旧処理回数をカウントしておく。そし
て、ステップ3において、このカウント値がステップ1
で設定した復旧処理の繰り返し回数を超えた場合には
「復旧不能」としてプログラムを終了する。
Step 5: Restoring Memory and Context The page contents after the start of the processing (k) are described in step 2-
Since the data is stored on the disk by 2, it is written back to the memory. The current page table is changed to the page table saved first after the process (k) starts. The current context is changed to the first saved context after the processing (k) starts. The process moves to step 2 when the context is restored. This allows
The re-execution of the process (k) is started. In step 5, the number of restoration processes is counted. Then, in step 3, this count value is set in step 1
If the number of repetitions of the recovery processing set in the step is exceeded, the program is terminated as "unrecoverable".

【0018】[0018]

【発明の効果】本発明によれば、仮想記憶方式の計算機
において、メモリ上のどのデータがどういう順序で更新
されたかが、ページと呼ばれる単位で、ページテーブル
のページ記述子に保存されるため、プログラムの作成者
が、復旧処理を可能とするために、復旧対象となるデー
タとデータ間の値の更新順序を詳細かつ正確に反映し
た、複雑で誤りやすい手順を表わしたプログラムを作成
しないで済むようにできる。また、保存処理も従来から
行われているページングと同様の手順で実現できるた
め、保存処理に伴う性能低下は仮想記憶を実現に伴う低
下と同程度で済まることができる。
According to the present invention, in a computer of a virtual storage system, which data in a memory is updated in what order is stored in a page descriptor of a page table in a unit called a page. Creators do not need to create programs that represent complex and error-prone procedures that accurately and precisely reflect the order in which data to be recovered and the values between data are updated in order to enable recovery processing. Can be. Also, the saving process can be realized by the same procedure as the conventional paging, so that the performance degradation due to the saving process can be almost the same as the degradation due to the realization of the virtual storage.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明を実施する計算機システムの構成例を示
すブロック図である。
FIG. 1 is a block diagram illustrating a configuration example of a computer system that implements the present invention.

【図2】セグメンテーションページング方式のアドレス
変換を説明する図である。
FIG. 2 is a diagram illustrating an address conversion of a segmentation paging method.

【図3】ページング方式のアドレス変換を説明する図で
ある。
FIG. 3 is a diagram illustrating address conversion in a paging system.

【図4】従来のデータ復旧方法の処理フローチャートで
ある。
FIG. 4 is a processing flowchart of a conventional data recovery method.

【図5】本発明のデータ復旧方法の一実施例の処理フロ
ーチャートである。
FIG. 5 is a processing flowchart of an embodiment of the data recovery method of the present invention.

【符号の説明】[Explanation of symbols]

110 プロセッサ 111 プログラム処理部 112 データ保存処理部 113 データ復旧処理部 114 高速変換バッファ 120 メモリ 121 セグメントテーブル 122 ページテーブル 130 ディスク(不揮発性記憶装置) 110 processor 111 program processing unit 112 data storage processing unit 113 data recovery processing unit 114 high-speed conversion buffer 120 memory 121 segment table 122 page table 130 disk (non-volatile storage device)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 仮想記憶方式を備えた計算機において、
プログラムの処理実行中に異常状態が発生した場合に、
それ以前の正常に処理が実行されていた時点の状態に戻
すためのデータ復旧方法であって、 初期状態において、ページテーブル内のページ記述子に
含まれる更新ビット及び書き込み可能ビットをOFFに
設定し、 プロセッサが、前記ページ記述子に含まれる書き込み可
能ビットがOFFであるページに対してデータ書き込み
を行おうとした場合に、割り込み処理に移行し、書き込
み前のページ内容とページテーブルとコンテクストを不
揮発性記憶装置に保存し、前記書き込み可能ビットをO
Nとして割り込み処理から復帰し、データの書き込み処
理を行った後、前記ページ記述子に含まれる更新ビット
をONとし、 所定の処理段階あるいは時間経過ごと
に、プログラム処理が正常に終了したか否かを判定し、 正常に終了した場合は、前記ページテーブル内のページ
記述子に含まれる書き込み可能ビット及び更新ビットを
OFFとした後にプログラム処理を続行し、 正常に終了しなかった場合は、前記不揮発性記憶装置に
保存されたページ内容をメモリに書き戻すとともに、現
状のページテーブル及びコンテクストを前記不揮発性記
憶装置に保存されたページテーブル及びコンテクストに
変更することにより、前記データの書き込み前の状態に
戻す、 ことを特徴とする仮想記憶を利用したデータ復旧方法。
1. A computer provided with a virtual storage system,
If an abnormal condition occurs during the execution of the program processing,
This is a data recovery method for returning to the state at the time when processing was normally executed before that, and in the initial state, the update bit and the writable bit included in the page descriptor in the page table are set to OFF. When the processor attempts to write data to a page in which the writable bit included in the page descriptor is OFF, the processing shifts to interrupt processing, and the page contents before writing, the page table, and the context are stored in a nonvolatile manner. And save the writable bit to O
After returning from the interrupt processing as N and performing the data write processing, the update bit included in the page descriptor is turned ON, and whether or not the program processing has been normally completed at a predetermined processing stage or at every elapse of time. If the processing is completed normally, the program processing is continued after turning off the writable bit and the update bit included in the page descriptor in the page table. If the processing is not completed normally, the nonvolatile memory is used. By writing back the page content stored in the non-volatile storage device to the memory and changing the current page table and context to the page table and context stored in the non-volatile storage device, the state before writing the data is restored. A data recovery method using virtual storage.
【請求項2】 前記初期状態において、前記判定時に処
理が正常に終了しなかった場合のデータ復旧処理の繰り
返し回数を設定し、 前記データの復旧処理が繰り返し回数を超えた場合には
プログラム処理を終了する、 ことを特徴とする請求項1記載の仮想記憶を利用したデ
ータ復旧方法。
2. In the initial state, the number of repetitions of the data recovery process when the process is not normally completed at the time of the determination is set, and when the number of the data recovery processes exceeds the number of repetitions, the program process is executed. 2. The data recovery method using virtual storage according to claim 1, wherein the process is terminated.
JP8232306A 1996-09-02 1996-09-02 Method for restoring data using virtual storage Pending JPH1078884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8232306A JPH1078884A (en) 1996-09-02 1996-09-02 Method for restoring data using virtual storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8232306A JPH1078884A (en) 1996-09-02 1996-09-02 Method for restoring data using virtual storage

Publications (1)

Publication Number Publication Date
JPH1078884A true JPH1078884A (en) 1998-03-24

Family

ID=16937149

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8232306A Pending JPH1078884A (en) 1996-09-02 1996-09-02 Method for restoring data using virtual storage

Country Status (1)

Country Link
JP (1) JPH1078884A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015127879A (en) * 2013-12-27 2015-07-09 富士通株式会社 Memory management program, memory management method, and memory management device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015127879A (en) * 2013-12-27 2015-07-09 富士通株式会社 Memory management program, memory management method, and memory management device

Similar Documents

Publication Publication Date Title
US20040172577A1 (en) Restoring data from point-in-time representations of the data
US20070050586A1 (en) Memory access control apparatus
EP0762282B1 (en) Atomic update of EDC protected data
US5363502A (en) Hot stand-by method and computer system for implementing hot stand-by method
JPH0810437B2 (en) Guest execution control method for virtual machine system
US4797816A (en) Virtual memory supported processor having restoration circuit for register recovering
JP4155052B2 (en) Emulator, emulation method and program
JPH1078884A (en) Method for restoring data using virtual storage
JPS6342294B2 (en)
JP2513060B2 (en) Failure recovery type computer
JPH03134747A (en) Dynamic control system and method of program
JP2671160B2 (en) Exception handling method
JPH0594356A (en) On-memory table data fault restoration system
JP3463696B2 (en) Online garbage collection processing method
JP3168489B2 (en) TLB control method and device
JPH0133856B2 (en)
JP2562838B2 (en) Processor and store buffer control method
JP3822449B2 (en) Stack saving method, stack saving program, and highly reliable computer system
JP2796162B2 (en) Instruction processing method
JP2000267936A (en) Disk sub-system
JPH04181331A (en) Instruction retry system
KR100426943B1 (en) How to handle operating system errors in the redundant system of exchanges
JPH07141120A (en) Processing method for fault in information storage medium
JPS59163663A (en) Detecting method of breakdown of simple file
JP3009168B2 (en) Data processing device