JPH04145554A - Real memory assigning system - Google Patents

Real memory assigning system

Info

Publication number
JPH04145554A
JPH04145554A JP2268354A JP26835490A JPH04145554A JP H04145554 A JPH04145554 A JP H04145554A JP 2268354 A JP2268354 A JP 2268354A JP 26835490 A JP26835490 A JP 26835490A JP H04145554 A JPH04145554 A JP H04145554A
Authority
JP
Japan
Prior art keywords
memory
real memory
real
area
addresses
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
JP2268354A
Other languages
Japanese (ja)
Inventor
Junichi Ose
淳一 小瀬
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2268354A priority Critical patent/JPH04145554A/en
Publication of JPH04145554A publication Critical patent/JPH04145554A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To supply a substitute real memory even when a fault occurs on a real memory page by making addresses of continuous areas in an arbitrary real memory space assignable to continuous page addresses in a virtual memory space. CONSTITUTION:When a virtual memory client 101 requests areas of continuous addresses in a real memory space corresponding to continuous areas 111 in a virtual memory space L pages, a program for making a real memory securing process 104 makes a request 105 for a real memory which is continuously unused for L pages. A real memory management program 106 retrieves real memory addresses which are unused continuously for L pages and returns the addresses to a virtual memory management program 103. The program 103 makes a process 109 for coupling the obtained real memory addresses R with the addresses V of virtual memory areas which are unused continuously for L pages. Therefore, areas 112 which are continuous for L page can be assigned in a real memory space and a substitute memory can be supplied when a real memory becomes defective.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、制御プログラムを構成するスーパバイザプロ
グラムの仮想空間・アドレス変換制御を行うメモリ管理
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a memory management system for controlling virtual space/address conversion of a supervisor program constituting a control program.

〔従来の技術〕[Conventional technology]

従来、実メモリ空間上のメモリアドレスが連続している
領域の有効性については、特開昭61−5358号公報
におけるメモリアクセスの高速化。
Conventionally, regarding the effectiveness of areas in which memory addresses are consecutive in the real memory space, Japanese Patent Laid-Open No. 61-5358 discloses a method for increasing the speed of memory access.

特開昭62−260242号公報あるいは特開昭63−
141144号公報における入出力時データ転送の効率
化、特開昭59−172188号公報および特開平1−
116849号公報における仮想メモリアドレスから実
メモリアドレスへの変換の効率向上などが論じられてい
た。
JP-A-62-260242 or JP-A-63-
Improving the efficiency of data transfer during input/output in JP-A No. 141144, JP-A-59-172188 and JP-A-1-
Publication No. 116849 discussed improving the efficiency of converting virtual memory addresses to real memory addresses.

また実メモリアドレスか仮想メモリアドレスかを特定し
ない一般的な連続領域の管理方式については特開昭63
−89950号公報、特開平1−274256号公報お
よび特開平2−47744号公報において論じられてい
た。
Furthermore, regarding a general continuous area management method that does not specify whether it is a real memory address or a virtual memory address, Japanese Patent Laid-Open No. 63
This was discussed in JP-A-89950, JP-A-1-274256, and JP-A-2-47744.

また、仮想メモリに対して長さが固定のページ単位に任
意の実メモリアドレスを割当てる実メモリ割当て方式で
あってより大きな連続実メモリ領域を供給するメモリ管
理方式として特開平1−17137号公報のように2種
類のページサイズがあって、領域ごとにページサイズを
選択できるものもあった。それらは選択可能な最大ペー
ジサイズを超えるサイズの仮想メモリ空間上領域に対し
て、実メモリ空間上のメモリアドレスが連続することを
保証するものではなかった。
In addition, Japanese Patent Laid-Open No. 1-17137 discloses a real memory allocation method that allocates arbitrary real memory addresses to virtual memory in units of fixed-length pages, and provides a larger continuous real memory area. There were two types of page sizes, and some allowed you to select the page size for each area. They do not guarantee that memory addresses in the real memory space are continuous for areas in the virtual memory space whose size exceeds the maximum selectable page size.

また他の実メモリ割当て方式として、仮想メモリ空間上
の領域に仮想ルモリアドレスと同一の実メモリアドレス
の実メモリ空間上領域を割当てることによって、仮想メ
モリ空間上連続した領域に対し実メモリ上も連続した領
域であることを保証するものがあった。(以後仮想メモ
リアドレスと。
Another real memory allocation method is to allocate an area in real memory space with the same real memory address as the virtual memory address to an area in virtual memory space, so that an area that is continuous in virtual memory space is also contiguous in real memory. There was something to ensure that it was a well-established area. (Hereafter referred to as virtual memory address.

該当領域に割り当てられた実メモリ空間上アドレスとが
同一な領域をV=R領域と呼ぶ)〔発明が解決しようと
する課題〕 従来技術にもメモリアドレスが連続した領域を供給する
ためのメモリ管理方式はあったが、ページ単位で仮想メ
モリに実メモリを割当てる実メモリ割当て方式において
は、実メモリ空間上不連続なページ群の有効利用を主と
するため、仮想メモリ空間からもアクセス可能な実メモ
リ空間上アドレスが連続した領域を確保するとき、ペー
ジサイズ以下の仮想空間上領域に対してのみ任意の実メ
モリアドレスが割当て可能であり、仮想メモリ空間上ペ
ージ境界を−っ以上含む領域に対しては仮想アドレスに
一致する実メモリアドレスしか割当てていなかった。
(The area where the address in the real memory space allocated to the corresponding area is the same is called the V=R area) [Problem to be solved by the invention] Memory management for providing an area with continuous memory addresses also in the prior art However, the real memory allocation method, which allocates real memory to virtual memory on a page-by-page basis, mainly makes effective use of groups of pages that are discontinuous in the real memory space. When securing an area with contiguous addresses in memory space, any real memory address can be assigned only to an area in virtual space that is less than or equal to the page size, and cannot be allocated to an area that includes more than one page boundary in virtual memory space. In this case, only real memory addresses that matched virtual addresses were allocated.

すなわちページより大きいサイズの実メモリ空間上アド
レスが連続した仮想メモリ空間上の領域を確保する手段
はV=R領域を選択することであるが、下記に述べる問
題があった。
That is, a means of securing an area in the virtual memory space where addresses in the real memory space are continuous and whose size is larger than a page is to select the V=R area, but there is a problem described below.

(1)領域サイズの制限; 従来仮想メモリ空間の最大サイズがたとえば2Gバイト
もあるにもかかわらず、V=R領域用に予約された領域
がたとえばO番地から16M番地未満の領域に限定され
ていたため、V=R領域のサイズはこの記憶容量を超え
ることができなかった。
(1) Area size limitations; Conventionally, although the maximum size of the virtual memory space is, for example, 2 GB, the area reserved for the V=R area is limited to, for example, an area from address O to less than 16M address. Therefore, the size of the V=R area could not exceed this storage capacity.

一般に、システムが動作可能な最小構成の実メモリレイ
アウトに依存してV=R領域として使用可能なメモリア
ドレスの制限ができ、その領域サイズにも制限ができる
In general, the memory addresses that can be used as the V=R area can be limited depending on the real memory layout of the minimum configuration in which the system can operate, and the size of the area can also be limited.

(2)代替実メモリの制限; V=R領域でない領域に対しては5割当てられていた実
メモリ空間中のページがハードウェア障害などにより使
用不可になっても、代替えの実メモリアドレスのページ
を再割当てすることができ、仮想メモリ空間上の領域ア
ドレスを変更することなく、障害回復を行うことができ
る。
(2) Restrictions on alternative real memory; For areas other than the V=R area, even if a page in the real memory space that was allocated 5 becomes unusable due to a hardware failure, the page at the alternative real memory address can be reallocated, and failure recovery can be performed without changing the area address in the virtual memory space.

ところがV=R領域の場合は仮想空間上領域のレイアウ
トも変更しなければ、代替えメモリを割当てることがで
きなかった。即ちV=R領域中のメモリ障害の回復は、
実メモリと仮想メモリとの対応付けに関するメモリ管理
プログラム内に局所化することができず、仮想メモリ空
間上領域のクライアントに影響せざるをえなかった。
However, in the case of the V=R area, alternative memory could not be allocated without changing the layout of the virtual space area. In other words, recovery from a memory failure in the V=R area is as follows:
The correspondence between real memory and virtual memory could not be localized within the memory management program, and it had to affect clients in the virtual memory space.

特に確保した領域が大きいほど、当該領域内のメモリ障
害が発生しやすくなるので、障害回復に関する考慮が重
要になる。
In particular, the larger the secured area, the more likely a memory failure will occur within that area, so consideration regarding failure recovery is important.

本発明の目的は、実メモリの障害回復を考慮しつつ、よ
り大きいサイズの実メモリ空間上アドレスが連続した仮
想空間上領域を提供することにある。
An object of the present invention is to provide a virtual space area with continuous addresses in a larger real memory space while taking into account real memory failure recovery.

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

上記目的は、仮想メモリ空間上の領域に対し実メモリを
割当てるとき、該当の仮想メモリ空間上の領域のページ
サイズと等量のサイズの実メモリ空間上連続した空き領
域を確保すること、および従来技術である仮想メモリ空
間上領域確保要求時に複数種類の実メモリ割当て方式の
内の一つを選択する手段によって、本発明の実メモリ割
当て方式を選択することにより達成される。(以後仮想
メモリ空間上連続した領域に対する実メモリ空間上アド
レスが連続した領域をv=C領域と呼ぶ)なお上記V=
C領域割当処理は、該当仮想メモリ領域のアドレスに対
して割当てられる実メモリアドレスが連続して未使用で
あるかぎり任意の実メモリアドレスを割当てて良い。
The above purpose is to secure a contiguous free area in the real memory space of the same size as the page size of the area in the virtual memory space when real memory is allocated to an area in the virtual memory space, and to This is achieved by selecting the real memory allocation method of the present invention using means for selecting one of a plurality of types of real memory allocation methods when requesting to secure an area in the virtual memory space. (Hereinafter, the area where the addresses in the real memory space are consecutive for the areas that are continuous in the virtual memory space will be referred to as the v=C area.) Note that the above V=
In the C area allocation process, any real memory address may be allocated to the address of the virtual memory area as long as the real memory address allocated to the address of the corresponding virtual memory area is continuous and unused.

また、システム起動時には未使用なメモリが多いので、
上記のアドレスが連続した実メモリ領域の確保が容易に
行える。
Also, since there is a lot of unused memory when the system starts,
It is easy to secure a real memory area with consecutive addresses as described above.

〔作用〕[Effect]

仮想メモリ空間上領域確保要求時に複数種ある実メモリ
割当て方式の一つとして■=C領域を選択することがで
きる。
■=C area can be selected as one of a plurality of real memory allocation methods when requesting to secure an area in the virtual memory space.

個々の実メモリ空間中ページが未使用であるか否かは従
来の実メモリ管理方式によって知ることができる。この
手段を繰り返し適用することによって、v=C領域要求
時に要求されたサイズの実メモリ空間上連続して未使用
な領域を検素することができる。
Whether or not each page in the real memory space is unused can be determined by a conventional real memory management method. By repeatedly applying this means, it is possible to continuously search for an unused area in the real memory space of the size requested when requesting the v=C area.

こうしてv=C領域要求に対して割当てる実メモリ空間
上のページアドレスが求められた後は従来の技術によっ
て、該当実メモリアドレスに仮想メモリアドレスを割当
てることができる。
After the page address in the real memory space to be allocated to the v=C area request is determined in this way, a virtual memory address can be allocated to the corresponding real memory address using conventional techniques.

また■=C領域は実メモリ空間上連続していることのみ
を保証するものであることにより、−度v=C領域とし
て使用された実メモリが使用不可になっても、別の同じ
サイズの連続して未使用な実メモリ領域を再割当てする
ことで、代替えメモリを補給することができる。
Also, since the ■ = C area only guarantees that it is contiguous in the real memory space, even if the real memory used as the - degree v = C area becomes unusable, another same-sized Alternative memory can be replenished by continuously reallocating unused real memory areas.

またV=R領域の場合、実メモリ空間上連続して未使用
なメモリ領域があっても、該当実メモリアドレスと同一
アドレスの仮想空間上領域が使用可能でなけれはならな
かったが、v=C領域の仮想メモリアドレスと実メモリ
アドレスとの独立性は、実メモリページおよび仮想メモ
リ空間それぞれに連続して未使用なメモリが十分存在す
るかぎり、それぞれの空間内のレイアウトに制限が無い
In addition, in the case of V=R area, even if there is a continuous unused memory area in the real memory space, the area in the virtual space at the same address as the corresponding real memory address must be usable, but v= The independence of the virtual memory address and the real memory address of the C area is such that as long as there is sufficient continuous unused memory in each of the real memory page and virtual memory space, there is no restriction on the layout within each space.

〔実施例〕〔Example〕

以下本発明の一実施例について図面を用いて説明する6 第2図は第1図に示す本実施例のプログラム構成の前提
となるプログラム構成であり、従来技術によって仮想メ
モリ空間の各々のページに対し任意の実メモリページを
割当てる方式の実メモリ割当て処理動作時のプログラム
構成を示す。
An embodiment of the present invention will be described below with reference to the drawings.6 Figure 2 shows a program configuration that is the premise of the program configuration of this embodiment shown in Figure 1. The program configuration during real memory allocation processing operation in a method that allocates an arbitrary real memory page is shown below.

まず仮想メモリクライアント(201)が単なるLペー
ジの仮想メモリ領域の要求(202)をした場合、仮想
メモリ管理プログラム(203)が呼び出され、実メモ
リ確保処理204を行うプログラムが1ページの未使用
実メモリページ要求(205)をL回実行する。
First, when a virtual memory client (201) simply requests L pages of virtual memory area (202), a virtual memory management program (203) is called, and a program that performs real memory allocation processing 204 creates one page of unused space. Memory page request (205) is executed L times.

この要求に応じて実メモリ管理プログラム(206)は
未使用な実メモリページを検索する処理を行って求めた
実メモリページアドレスRを仮想メモリ管理プログラム
へ返す(208)。仮想メモリ管理プログラム203は
得られた実メモリアドレスRとLページ連続して未使用
な仮想メモリ領域のアドレス■とを結び付ける処理(2
09)を行い、アドレスVを仮想メモリクライアント2
01へ返す(210)。
In response to this request, the real memory management program (206) searches for an unused real memory page and returns the obtained real memory page address R to the virtual memory management program (208). The virtual memory management program 203 performs a process (2
09) and set address V to virtual memory client 2.
01 (210).

以上の様な処理で仮想メモリ空間上Lページ連続した領
域(211)に対して、L個の実メモリ空間中のページ
群(212)を割当てることができる。
Through the above-described processing, a group of L pages (212) in the real memory space can be allocated to an area (211) of L consecutive pages in the virtual memory space.

つぎに第1図を参照して仮想メモリクライアントlO1
がL/<−ジのv=C領域の要求(102)をした場合
、仮想メモリ管理プログラム(103)が呼び出され、
実メモリ確保処理(104)を行うプログラムがLペー
ジ連続して未使用な実メモリの要求(105)を1回行
う。この要求に応じて実メモリ管理プログラム(106
)は、Lページ連続して未使用な実メモリアドレスを検
索する処理を行って求めた実メモリアドレスRを仮想メ
モリ管理プログラム103へ返す(108)。
Next, referring to FIG. 1, the virtual memory client lO1
When requesting (102) the v=C area of L/<-ji, the virtual memory management program (103) is called,
A program that performs real memory securing processing (104) requests unused real memory once (105) for L consecutive pages. In response to this request, the real memory management program (106
) returns the real memory address R obtained by searching for unused real memory addresses for L consecutive pages to the virtual memory management program 103 (108).

仮想メモリ管理プログラム103は得られた実メモリア
ドレスRとLページ連続して未使用な仮想メモリ領域の
アドレス■とを結び付ける処理(109)を行い、アド
レスVを仮想メモリクライアント101に返す(110
)。
The virtual memory management program 103 performs a process (109) to link the obtained real memory address R with the address ■ of an unused virtual memory area of L consecutive pages (109), and returns the address V to the virtual memory client 101 (110).
).

これによって仮想メモリ空間上Lページ連続した領域(
111)に対し、実メモリ空間上もLページ連続した領
域(112)を割当てることができる。
This results in an L page continuous area in the virtual memory space (
111), a continuous area (112) of L pages can be allocated in the real memory space as well.

つぎに実メモリ管理プログラム106が行う実メモリア
ドレス検索処理の詳細を第3図を用いて説明する。
Next, details of the real memory address search process performed by the real memory management program 106 will be explained using FIG. 3.

(302)のループでインデックスSを全実装実メモリ
に対するページ番号中を変化させながら。
(302) while changing the index S among the page numbers for all the mounted real memories.

(303)のループでSの示すページから連続して未使
用な実メモリ領域の最終ページ番号Aを求め、(304
)の判定処理でAが(S+L)以上、即ちSの示す実メ
モリページからLページが連続して未使用であるか否か
をテストし、(305)(306)のループでテストに
合格したインデックスSからLページを使用中の状態に
する。この後実メモリのページ番号を示すSから該当ペ
ージの実メモリアドレスR(307)を求め、呼出しも
とにRを返す(308)。
In the loop of (303), the final page number A of the continuous unused real memory area is determined from the page indicated by S, and (304
), it is tested whether A is greater than or equal to (S+L), that is, whether L pages are consecutively unused from the real memory page indicated by S, and the test is passed in the loop of (305) and (306). Make index S to L pages in use. Thereafter, the real memory address R (307) of the corresponding page is obtained from S indicating the page number of the real memory, and R is returned to the calling source (308).

上記のテストに合格するSが無く、インデックスSを全
実装実メモリに対するページ番号中を変化させ終わった
場合、すなわち要求されたサイズの実メモリ空間上連続
した領域が存在しなかった場合は、(309)の実メモ
リ検索失敗時の処理に到達し、従来技術におけるの実メ
モリ検索失敗時と同様な処理をする。
If there is no S that passes the above test and the index S has been changed among the page numbers for all the implemented real memories, that is, if there is no contiguous area in the real memory space of the requested size, ( 309) is reached, and the same process as in the prior art when the real memory search fails is performed.

ここで実メモリアドレス検索処理は特開昭63−899
50号公報や特開昭63−103344号公報に示され
ているようなメモリ解放時の改善も併用してより効率化
することもできるが、メモリ解放要求が発生しないシス
テム起動時は本例のように簡単な実メモリ管理方式でよ
い。
Here, the real memory address search process is described in Japanese Patent Laid-Open No. 63-899.
It is also possible to improve the efficiency by using improvements in memory release as shown in Japanese Patent No. 50 and Japanese Patent Application Laid-Open No. 63-103344, but when the system is started without any memory release requests, this example A simple real memory management method is sufficient.

また第1図には、仮想メモリ領域要求直後に実メモリ領
域を割当てる処理の部分を示したが、従来技術であるV
=R領域が必ずしも実メモリに常駐するものではなく、
スワップアウト時に実メモリが解放され、スワップイン
時に実メモリの割当てと領域内容の回復がされていたの
と同様、■=C領域もスワップイン時に第1図に示す処
理で実メモリの再割当てをすれば、領域内容の回復はV
=R領域と同様にして、スワツピングができる。
Furthermore, although FIG. 1 shows the process of allocating a real memory area immediately after requesting a virtual memory area,
= The R area does not necessarily reside in real memory,
In the same way that real memory is released when swapping out, and real memory is allocated and the area contents are restored when swapping in, real memory is reallocated for the C area as well by the process shown in Figure 1 when swapping in. Then, the recovery of the area contents is V
= Swapping can be done in the same way as in the R area.

またページ単位で仮想メモリに実メモリを割当てられた
領域中のメモリ障害の回復は、従来技術において、メモ
リ障害が検出されたページ内のデータが補助記憶装置に
ページアウトしてあればそれをページインし、ページン
グ処理の一環としての実メモリ再割当て処理で代替えメ
モリの割当てをすることが可能であった。
In addition, in the conventional technology, recovery from a memory failure in an area where real memory is allocated to virtual memory on a page-by-page basis is possible by using the page if the data in the page where the memory failure was detected has been paged out to the auxiliary storage device. It was possible to allocate alternative memory using the real memory reallocation process as part of the paging process.

さらにv=C領域中のメモリ障害の回復は、メモリ障害
が発生した領域内のデータが補助記憶にスワップアウト
してあれば、それを前述の実メモリが連続した領域を再
割当てするようなスワップイン処理の一環の処理によっ
て、代替え実メモリの補給をすることで実現できる。
Furthermore, to recover from a memory failure in the v=C area, if the data in the area where the memory failure has occurred has been swapped out to auxiliary storage, it can be swapped out by reallocating a contiguous area of real memory as described above. This can be achieved by replenishing the alternative real memory as part of the in-processing.

第4図は、1つのテーブルが不連続な実メモリ上のペー
ジ(実ページ)に渡る例であり、このような場合、本発
明のv=C領域機能を用いればテーブル構造の簡易可が
できる。401は第1の実ページ、405は第2の実ペ
ージ、402,403.406はCCV (4チャネル
制御語)のようなテーブルの要素、404はページから
ページへ制御を渡す指令である。v=C領域ではページ
終端に次のページに対する分岐指令を挿入する必要がな
い。
Figure 4 shows an example in which one table spans discontinuous real memory pages (real pages). In such a case, the table structure can be simplified by using the v=C area function of the present invention. . 401 is a first real page, 405 is a second real page, 402, 403, and 406 are table elements such as CCV (4 channel control word), and 404 is a command for passing control from page to page. In the v=C area, there is no need to insert a branch command for the next page at the end of the page.

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

本発明によれば実メモリ上連続したアドレスのテーブル
をV=R領域よりも大きく確保出来る。
According to the present invention, it is possible to secure a table of consecutive addresses on the real memory that is larger than the V=R area.

特にシステム起動時のような未使用なメモリが多い時点
では、実施例に示したような簡単な処理でも効率よく確
保できる。
Particularly when there is a large amount of unused memory, such as when the system is started, the memory can be efficiently secured even with the simple process shown in the embodiment.

また実メモリ空間上ページ単位で不連続な領域にテーブ
ルを作る場合に比べて、これより大きい実メモリ空間上
連続した領域にテーブルを作る方が、テーブル構造を簡
単にすることが出来、付随して該当テーブルを作成する
処理の性能を向上させることが出来る。
Also, compared to creating a table in a discontinuous area in page units in the real memory space, creating a table in a contiguous area in a larger real memory space can simplify the table structure and reduce the associated The performance of the process of creating the corresponding table can be improved.

また本発明によって従来はV=R領域に作成していたテ
ーブルをv=C領域に移動すれば、障害時などに代替え
メモリが補給可能になることによって、障害回復機能の
向上ができる。
Further, according to the present invention, by moving the table that was conventionally created in the V=R area to the v=C area, alternative memory can be supplied in the event of a failure, thereby improving the failure recovery function.

また本発明はもともと仮想メモリ空間のサイズが大きく
、ページ単位のメモリ割当てを方式を採用していたシス
テムに適用すれば、前述の効果があるが、仮想メモリ空
間上連続した領域に対し実メモリ上連続した領域を割当
てることしかできなかったシステムを母体に、ページ単
位のメモリ割当てを主として適用し、本発明の構成を満
たするように機能追加した場合の効果は、母体システム
のメモリ割当て方式ではページサイズ以下のサイズの仮
想領域にしか割当てられなかった実メモリ空間上断片化
したページ群をより大きな仮想メモリ領域に割当てるこ
とができる。この場合母体システにおけるメモリ障害回
復機能も実メモリ空間上連続した領域のメリットも損な
うことなく、断片化した実メモリの有効利用をできる効
果がある。
In addition, if the present invention is applied to a system that originally had a large virtual memory space and adopted a page-based memory allocation method, the above-mentioned effects can be obtained. The effect of adding functions to satisfy the configuration of the present invention by mainly applying page-based memory allocation to a system that was only able to allocate contiguous areas is that the memory allocation method of the parent system A group of fragmented pages in the real memory space, which could only be allocated to a virtual area with a size smaller than this size, can be allocated to a larger virtual memory area. In this case, the fragmented real memory can be effectively used without sacrificing the memory failure recovery function in the host system or the advantages of a contiguous area in the real memory space.

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

第1図は本発明の一実施例を示す構成図、第2図は第1
図に対応する従来技術を示す構成図、第3図は実メモリ
アドレス検索処理を示す流れ図、第4図は、テーブルが
連続しない実ページに渡る従来例を示す図である。 106・・実メモリ管理プログラム。 躬 肥 第 ダ
FIG. 1 is a configuration diagram showing one embodiment of the present invention, and FIG.
FIG. 3 is a flowchart showing a real memory address search process, and FIG. 4 is a diagram showing a conventional example in which a table spans discontinuous real pages. 106...Real memory management program. Mihidai da

Claims (1)

【特許請求の範囲】[Claims] 1、固定長のページサイズをもつ仮想メモリ管理方式に
おける仮想メモリ空間上のページアドレスと実メモリ空
間上中のページアドレスとを割当てる実メモリ割当て方
式において、仮想メモリ上連続したページアドレスに対
し、実メモリ上の任意のページアドレスを割当てること
を主とし、仮想メモリ空間上連続したページアドレスに
対し、任意の実メモリ空間上連続した領域のアドレスを
割当てることも可能で、実メモリページに障害が発生し
ても、代替え実メモリの補給が可能なことを特徴とする
実メモリ割当て方式。
1. In a virtual memory management method with a fixed-length page size, in a real memory allocation method that allocates page addresses in virtual memory space and page addresses in real memory space, real memory is assigned to consecutive page addresses in virtual memory. The main method is to allocate arbitrary page addresses in memory, but it is also possible to allocate addresses in any continuous area in real memory space to continuous page addresses in virtual memory space, and failures occur in real memory pages. A real memory allocation method that is characterized in that it is possible to replenish alternative real memory even when the memory is used.
JP2268354A 1990-10-08 1990-10-08 Real memory assigning system Pending JPH04145554A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2268354A JPH04145554A (en) 1990-10-08 1990-10-08 Real memory assigning system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2268354A JPH04145554A (en) 1990-10-08 1990-10-08 Real memory assigning system

Publications (1)

Publication Number Publication Date
JPH04145554A true JPH04145554A (en) 1992-05-19

Family

ID=17457365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2268354A Pending JPH04145554A (en) 1990-10-08 1990-10-08 Real memory assigning system

Country Status (1)

Country Link
JP (1) JPH04145554A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008181314A (en) * 2007-01-24 2008-08-07 Nec Corp Memory allocation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008181314A (en) * 2007-01-24 2008-08-07 Nec Corp Memory allocation method

Similar Documents

Publication Publication Date Title
JPH04145554A (en) Real memory assigning system
JPS63172343A (en) Instruction prefetching system
JP3351469B2 (en) Information processing system and failure handling method with data copy used for it
JP3875358B2 (en) Storage device, storage method, and recording medium
CN111026680A (en) Mapping a first identifier to a second identifier
JP2001051855A (en) Memory division management system
JPH026094B2 (en)
JPH06266619A (en) Page saving/restoring device
JPS6016661B2 (en) Main memory allocation method
JP2001022640A (en) Memory managing method
JPH0237443A (en) Main storage management system for electronic computer system
JP3542894B2 (en) File system
JPH0251740A (en) Control system for process allocation
JPH0329041A (en) Decentralized paging control system
JPH04320552A (en) Idle block management system
JPS59146344A (en) Advance control system of virtual stack
JPH06259292A (en) On-line garbage collection method for external storage device
JPS6364146A (en) Logical space control system
JPS6043756A (en) Memory control system
JPH09212426A (en) Storage device managing method for virtual computer system
JPH05257794A (en) Main memory control system
JPS6320552A (en) Storage control system
JPS61845A (en) Virtual page reserving system
JPS63145553A (en) Memory control system with control mode
JPH05143438A (en) Extended memory managing system