JPH02201558A - Area management processing system - Google Patents

Area management processing system

Info

Publication number
JPH02201558A
JPH02201558A JP2047889A JP2047889A JPH02201558A JP H02201558 A JPH02201558 A JP H02201558A JP 2047889 A JP2047889 A JP 2047889A JP 2047889 A JP2047889 A JP 2047889A JP H02201558 A JPH02201558 A JP H02201558A
Authority
JP
Japan
Prior art keywords
management table
area
management
entry
entries
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.)
Granted
Application number
JP2047889A
Other languages
Japanese (ja)
Other versions
JP3030030B2 (en
Inventor
Masashi Washimi
昌司 鷲見
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 JP1020478A priority Critical patent/JP3030030B2/en
Publication of JPH02201558A publication Critical patent/JPH02201558A/en
Application granted granted Critical
Publication of JP3030030B2 publication Critical patent/JP3030030B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To efficiently use an area by dynamically generating a management table on demand and avoiding an influence of restrictions of the number of usable entries of the management table even at the time of the occurrence of fragmentation of the area. CONSTITUTION:When the number of entries of an already generated management table T1 is not enough at the time of changing a management object area, another management table T2 is dynamically generated by a management table generation processing part 15 and is linked to the management table 1. When the number of entries of the management table T2 is not enough because fragmentation of the area is advanced, another management table is dynamically generated and is used in the same manner. Thus, the area is efficiently used without restrictions of the number of entries of the management table though fragmentation of the management object are frequently occurs.

Description

【発明の詳細な説明】 〔概要〕 各エントリごとに管理対象Sr1域の位置情軸が登録さ
れる管理テーブルを使用して、記憶領域の管理を行う計
算機システムにおいて、管理テーブルの動的生成を行う
領域管理処理方式に関し。
[Detailed Description of the Invention] [Summary] A management table is dynamically generated in a computer system that manages storage areas using a management table in which the position information axis of the managed Sr1 area is registered for each entry. Regarding the area management processing method.

管理対象領域のフラグメントが多発した場合にも、管理
テーブルのエントリ数の制約を受けずに。
Even if fragments occur frequently in the managed area, you are not limited by the number of entries in the management table.

効率よく領域を使用することができる手段を提供するこ
とを目的とし。
The purpose is to provide a means to use space efficiently.

管理対象領域の変更の際に、既存の管理テーブルのエン
トリが不足した場合、新たに別の管理テーブルを動的に
生成し、既存の管理テーブルに新たな管理テーブルをリ
ンクして、その新たな管理テーブルから、管理対象領域
の登録に用いるエントリを獲得するように構成する。
If there are insufficient entries in the existing management table when changing the managed area, a new management table is dynamically generated, the new management table is linked to the existing management table, and the new management table is created. The configuration is such that an entry used for registering a managed area is acquired from the management table.

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

本発明は、各エントリごとに管理対象領域の位置情報が
登録される管理テーブルを使用して、記憶領域の管理を
行う計算機システムにおいて、管理テーブルの動的生成
を行う領域管理処理方式に関する。
The present invention relates to an area management processing method that dynamically generates a management table in a computer system that manages storage areas using a management table in which position information of a managed area is registered for each entry.

計IX機システムにおいては、仮想空間や論理空間など
の記憶領域を3通常、何らかの管理テーブルを使用して
管理している。管理テーブルの構造。
In a total IX machine system, storage areas such as virtual space and logical space are usually managed using some kind of management table. Management table structure.

大きさ、使用方法などは、システムの資源量にも関係し
て、システムおよび管理対象ごとにまちまちであり、制
約も異なってくる。
The size, method of use, etc. vary depending on the system and management target, depending on the amount of system resources, and the constraints also vary.

一般に、領域の獲得処理および解放処理が頻繁に繰り返
されると、領域のフラグメントが発生し管理テーブル自
体の領域区画数、すなわち管理テーブルのエントリ数の
制約によって、領域を効率よく使用できない場合が生じ
てくる。
In general, if area acquisition and release processing are repeated frequently, area fragmentation occurs and the area may not be used efficiently due to constraints on the number of area partitions in the management table itself, that is, the number of entries in the management table. come.

そのため、領域のフラグメントの発生に対して管理テー
ブルの領域区画数の制約に影響されない領域管理処理方
式を実現し、領域を効率よく使用できるようにすること
が必要とされる。
Therefore, it is necessary to realize an area management processing method that is not affected by the restriction on the number of area partitions in the management table with respect to the occurrence of area fragments, and to enable efficient use of areas.

〔従来の技術〕[Conventional technology]

第6図は従来技術の例を示す。 FIG. 6 shows an example of the prior art.

図中、100はいわゆる論理空間の管理領域。In the figure, 100 is a so-called logical space management area.

TIは管理領域100における未使用領域を管理するた
めの管理テーブルである。
TI is a management table for managing unused areas in the management area 100.

管理テーブルT1は、未使用エントリ数を記憶する管理
情報部と、管理領域lOOにおける各未使用領域の先頭
アドレスとサイズとを記憶する複数のエントリと、管理
テーブルTIの終アをオールOのコード(以下、N[J
LLという)によって示す最終表示部とからなる。
The management table T1 includes a management information section that stores the number of unused entries, a plurality of entries that stores the start address and size of each unused area in the management area lOO, and an all-O code for the end address of the management table TI. (Hereinafter, N[J
and a final display section denoted by LL).

従来技術では、管理テーブルTIは、あらかしめシステ
ム空間側の領域に1個または処理単位であるプロセス空
間側の領域ごとに1個用意され未使用領域などの管理対
象領域を登録することのできるエントリ数は、固定であ
った。なお、この例では、管理領域100の未使用領域
を管理テブルT1によって管理しているが、未使用領域
ではなく、使用領域を管理する場合にも、同様な管理テ
ーブルの使用が行われることがある。
In the conventional technology, the management table TI has one entry for each area on the preliminary system space side or one entry for each area on the process space side that is a processing unit, and can register management target areas such as unused areas. The number was fixed. Note that in this example, the unused area of the management area 100 is managed by the management table T1, but a similar management table may be used when managing a used area instead of an unused area. be.

(発明が解決しようとする課題) 従来の管理テーブルTIを使用した領域管理処理方式で
は、管理テーブルT1が1個だけ静的に用意されている
だけであるため、領域のフラグメントが発生し、領域が
小さく分割されてしまうと。
(Problems to be Solved by the Invention) In the conventional area management processing method using the management table TI, only one management table T1 is statically prepared, so area fragments occur and the area is divided into smaller pieces.

管理テーブルTIのエントリに不足が生じることがあり
、管理テーブルT1のエントリに未使用領域を登録でき
なくなることがある。そのため、領域を効率よ(使用す
ることができない場合が生じるという問題があった。
There may be a shortage of entries in the management table TI, and unused areas may not be registered in the entries in the management table T1. Therefore, there was a problem that the area could not be used efficiently.

すなわち、第6図に示す例では、管理テーブルTIの1
02エントリのうち、先頭と最終は管理情報部と最終表
示部として使用しているため、全部で100個の未使用
領域を管理することができるだけであり、未使用領域の
個数がこれ以上増えると、管理テーブルTlによって管
理することはできなかった。
That is, in the example shown in FIG. 6, 1 of the management table TI
Of the 02 entries, the first and last are used as the management information section and the final display section, so it is only possible to manage a total of 100 unused areas, and if the number of unused areas increases , could not be managed using the management table Tl.

本発明は上記問題点の解決を図り、管理対象領域のフラ
グメントが多発した場合にも、管理テーブルのエントリ
数の制約を受けずに、効率よく領域を使用することがで
きる手段を提供することを目的としている。
The present invention aims to solve the above-mentioned problems, and provides a means for efficiently using the area without being constrained by the number of entries in the management table even when fragments of the managed area occur frequently. The purpose is

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

第1図は本発明の構成例を示す。 FIG. 1 shows an example of the configuration of the present invention.

第1図において、10はCPUおよびメモリなどからな
る処理装置、11はデータ処理に使用する領域の獲得/
解放を要求する領域要求部、12は記憶領域の管理を行
う領域管理部、13は管理テーブルエントリ参照・更新
処理部、14は管理テーブルのエントリポインタを更新
するエントリポインタ更新処理部、15は管理テーブル
を動的に生成する管理テーブル生成処理部、16は不要
となった管理テーブルを消去する管理テーブル消滅処理
部、17は領域の切り出しが行われる記憶領域、TIは
あらかじめ静的に確保される管理テーブル、T2は必要
なときに動的に確保される管理テーブル、Al−A3は
記憶領域17における管理対象領域を表す。
In FIG. 1, 10 is a processing unit consisting of a CPU, memory, etc., and 11 is an acquisition/controller for acquiring an area used for data processing.
12 is an area management unit that manages the storage area; 13 is a management table entry reference/update processing unit; 14 is an entry pointer update processing unit that updates the entry pointer of the management table; 15 is a management unit 16 is a management table generation processing unit that dynamically generates a table; 16 is a management table deletion processing unit that deletes management tables that are no longer needed; 17 is a storage area from which an area is cut out; TI is statically secured in advance. A management table T2 is a management table dynamically secured when necessary, and Al-A3 represents a management target area in the storage area 17.

管理テーブルTl、T2には、各エントリごとに管理対
象領域A1.A2.・・・の位置情報が登録されるよう
になっている。管理対象領域にフラグメントが発生して
いない最初の状態では、管理テ−フルTIのみが存在し
、管理テーブル1゛2は設けられない。
In the management tables Tl and T2, management target areas A1 . A2. ...location information is now registered. In the initial state where no fragments have occurred in the managed area, only the management table TI exists and the management tables 1 and 2 are not provided.

領域要求部11からの領域の獲得および解放要求に対し
て、領域管理部12は、記憶領域17から切り出した領
域の割り当ておよび返却を行う。
In response to an area acquisition and release request from the area requesting unit 11, the area management unit 12 allocates and returns an area cut out from the storage area 17.

このとき、管理テーブルエントリ参照・更新処理部13
によって、管理テーブルT 1等の参照・更新を行う。
At this time, the management table entry reference/update processing unit 13
The management table T1 and the like are referenced and updated by.

管理テーブルエントリ参照・更新処理部13は、エント
リポインタ更新処理部14.管理テーブル生成処理部1
5.管理テーブル消滅処理部16を必要に応じて呼び出
し、・ゴ理テーブルTI等への管理対象領域の登録およ
び登録抹消などの処理を行う。
The management table entry reference/update processing section 13 includes an entry pointer update processing section 14. Management table generation processing unit 1
5. The management table deletion processing unit 16 is called as necessary to perform processes such as registration and deletion of management target areas in the gory table TI and the like.

管理対象領域の変更の際に、既存の管理チーフル、例え
ば管理テーブルT1のエントリが不足した場合、管理テ
ーブル生成処理部15によって。
When changing the management target area, if there are insufficient entries in the existing management table, for example, the management table T1, by the management table generation processing unit 15.

新たに別の管理テーブルT2を動的に生成し、既存の管
理テーブルT1に新たな管理テーブル゛r2をリンクす
る。すなわち、管理テーブル1゛1における管理情報部
のリンクポインタに、新たに用意した管理テーブルT2
の先頭アドレスを設定する。
A new management table T2 is dynamically generated, and the new management table r2 is linked to the existing management table T1. In other words, the newly prepared management table T2 is set to the link pointer of the management information section in the management table 1-1.
Set the start address of.

そして、その新たな管理テーブルT2がら、管理対象領
域の登録に用いるエントリを獲得するようにする。さら
に、領域のフラグメントが進み、管理テーブルT2のエ
ントリも不足する場合には。
Then, from the new management table T2, an entry used for registering the management target area is acquired. Furthermore, if the fragmentation of the area progresses and the entries in the management table T2 are insufficient.

同様に新しい管理テーブルを動的に生成して使用する。Similarly, new management tables are dynamically generated and used.

エントリポインタ更新処理部14は、必要とする1丁理
対象領域AI、A2. ・・・を検索するときに管理テ
ーブルT1.”l”2等におけるエントリのポインタを
更新する処理を行うものである。1つの管理テーブル内
では、■エントリずつポインタを進め2例えば管理テー
ブルT Iの最終エントリから管理テーブルT2の先頭
エントリへ移る場合には、管理情報部のリンクポインタ
を使用することにより、エントリポインタの更新を行う
。
The entry pointer update processing unit 14 updates one required target area AI, A2 . When searching for management table T1. This process updates the entry pointer in "l"2, etc. Within one management table, the pointer advances one entry at a time.2 For example, when moving from the last entry in management table TI to the first entry in management table T2, the entry pointer can be changed by using the link pointer in the management information section. Perform updates.

R理対象領域A1.A2.・・・のフラグメントが少な
くなり、動的に生成した管理テーブルT2などが不要と
なった場合には、管理テーブル消滅処理部1Gにより、
管理テーブルT2を消滅させ管理テーブルTIのリンク
ポインタをNULLにする。
R treatment target area A1. A2. When the number of fragments of .
The management table T2 is deleted and the link pointer of the management table TI is set to NULL.

〔作用〕[Effect]

本発明では、必要に応して管理テーブルが動的に生成さ
れ5 システム空間側の領域に数個あるいはプロセス空
間側の領域ごとに数個用意できる。
In the present invention, management tables are dynamically generated as needed, and several management tables can be prepared for each area on the system space side or several for each area on the process space side.

したがって、1つの管理テーブルのエントリ数が少ない
場合であっても、エントリ数の不足により管理できなく
なる領域が生じることはなく、フラグメントが多発して
も1領域を有効に使用できるようになる。 特に5管理
テーブルTl、T2等に対する領域の検索のためのポイ
ンタを更新する処理を、エントリポインタ更新処理部1
4のように1部品化して用意するようにすれば1通常の
エントリへのアクセスでは、複数個の管理テーブルを意
識する必要がなく、処理の複雑化を避けることも可能で
ある。
Therefore, even if the number of entries in one management table is small, an area that cannot be managed due to insufficient number of entries will not occur, and even if fragments occur frequently, one area can be used effectively. In particular, the entry pointer update processing unit 1
If it is prepared as one component as in 4, there is no need to be aware of multiple management tables when accessing one normal entry, and it is possible to avoid complication of processing.

〔実施例〕〔Example〕

第2図は本発明の実施例、第3図は本発明の実施例に係
るエンI−IJ参照・更新処理の例、第4図は本発明の
実施例に係る管理テーブル生成処理の例、第5図は本発
明の実施例に係るエントリポインタ更新処理の例を示す
。
FIG. 2 is an example of the embodiment of the present invention, FIG. 3 is an example of en I-IJ reference/update processing according to the embodiment of the present invention, and FIG. 4 is an example of management table generation processing according to the embodiment of the present invention. FIG. 5 shows an example of entry pointer update processing according to an embodiment of the present invention.

第2図は、管理領域100における未使用領域を、管理
対象領域として、管理テーブルTl、T2によって管理
する例を示している。
FIG. 2 shows an example in which an unused area in the management area 100 is managed as an area to be managed using management tables Tl and T2.

管理テーブル”]”iT2は、それぞれ1個の管理情報
部と、100個の未使用領域を登録することのできるエ
ントリと、1個の最終表示部とからなる。管理情報部は
、未使用エントリ数の記憶域と1次の管理テーブルの先
頭アドレスを記憶するリンクポインタの領域とを持つ。
The management table "]"iT2 each consists of one management information section, entries in which 100 unused areas can be registered, and one final display section. The management information section has a storage area for the number of unused entries and a link pointer area for storing the start address of the primary management table.

最終管理テーブルのリンクポインタの値は、NULLで
ある。
The value of the link pointer of the final management table is NULL.

静的にあらかじめ用意されるのは、管理テーブルTIだ
けであるが、管理領域100における未使用領域の個数
が100個を超える場合には、新たに、管理テーブルT
2が動的に生成され、管理テーブルT1にリンクされる
。
Only the management table TI is statically prepared in advance, but if the number of unused areas in the management area 100 exceeds 100, a new management table T
2 is dynamically generated and linked to the management table T1.

第2図に示す例では、未使用領域が102個あるので、
管理テーブルTIに100個の未使用領域、管理テーブ
ルT2に2個の未使用領域が登録されている。
In the example shown in Figure 2, there are 102 unused areas, so
100 unused areas are registered in the management table TI, and 2 unused areas are registered in the management table T2.

ここでは、未使用領域を管理対象としているが。Here, the unused area is the management target.

使用領域を管理する場合にも、同様な管理テーブルの構
成により、エントリ数に制約されることなく、管理する
ことができる。
When managing the used area, a similar management table structure allows management without being restricted by the number of entries.

領域の獲得要求により1未使用領域から指定された大き
さの領域を切り出す場合9例えば第1図に示す管理テー
ブルエントリ参照・更新処理部13は、第3図に示すよ
うな処理を行う。以下の説明における■〜0は、第3図
に示す処理■〜0に対応する。
When an area of a specified size is cut out from one unused area in response to an area acquisition request 9 For example, the management table entry reference/update processing section 13 shown in FIG. 1 performs the processing shown in FIG. 3. ■~0 in the following description corresponds to processes ■~0 shown in FIG.

■ まず、管理テーブルを検索するためのエントリのア
ドレスを、最初の未使用領域のエントリアドレスとする
。
■ First, the address of the entry for searching the management table is the entry address of the first unused area.

■ 未使用領域のサイズと、要求された割り当てサイズ
との比較により、領域の割り当てが可能であるかどうか
を判定する。割り当て可能である場合、処理■へ移る。
■ Determine whether the space can be allocated by comparing the size of the unused space with the requested allocation size. If it is possible to allocate it, move on to process (2).

なお、この割り当て可否の判定では、領域の使用目的に
より、ページ境界を意識して9切り出す領域がページ境
界をまたがらないことを条件としてもよい。
Note that in determining whether or not the allocation is possible, depending on the purpose of use of the area, the condition may be that the area to be extracted does not straddle the page boundary, taking page boundaries into consideration.

■ 領域の割り当てが不可である場合、エントリポイン
タ更新処理により、検索するエントリのアドレスを1工
ントリ分だけ先に進める。
■ If the area cannot be allocated, the entry pointer update process advances the address of the entry to be searched by one workpiece.

■ 次のエントリにおけるサイズの値がN(JLLであ
るかどうかを判定する。NULLであれば。
■ Determine whether the size value in the next entry is N (JLL. If NULL.

領域を割り当てることができる未使用領域は存在しない
ので1割り当て不可を呼び出し元に通知し、処理を終了
する。NULLでなければ処理■へ制御を戻し、同様に
処理を繰り返す。
Since there is no unused area to which an area can be allocated, the caller is notified that 1 allocation is not possible, and the process ends. If it is not NULL, control is returned to process (2) and the process is repeated in the same manner.

■ 領域の割り当てが可能である場合、現エントリの内
容、すなわち領域切り出し後の未使用領域のアドレスと
サイズとを更新する。
■ If the area can be allocated, update the contents of the current entry, that is, the address and size of the unused area after area extraction.

■ そのエントリの削除が必要であるかどうかを判定す
る。残った未使用領域のサイズが0である場合、エント
リの削除が必要である。エントリの削除が必要でない場
合、呼び出し元へ割り当て領域のアドレスを通知し、制
御を戻す。
■ Determine whether the entry needs to be deleted. If the size of the remaining unused area is 0, it is necessary to delete the entry. If the entry does not need to be deleted, the caller is notified of the address of the allocated area and control is returned.

■〜■ エントリの削除が必要な場合、エントリポイン
タ更新処理により、処理対象とするエントリのアドレス
を1工ントリ分だけ先に進める。
■~■ If it is necessary to delete an entry, the address of the entry to be processed is advanced by one entry point by the entry pointer update process.

そして、直後のエントリの内容を現エントリに設定する
。これをエントリのサイズ(size)情報が0になる
まで繰り返す。
Then, the contents of the immediately following entry are set to the current entry. This is repeated until the entry size information becomes 0.

■ 管理テーブルの管理悄t11部における未使用エン
トり数に1を加算する。
■ Add 1 to the number of unused entries in the management table t11 section.

■ 管理テーブルの削除が必要かどうかを判定する。管
理テーブルの削除を行うのは、その管理テーブルがすべ
て未使用エントリとなり、かつそれが先頭の管理テーブ
ルではない場合である。
■ Determine whether a management table needs to be deleted. A management table is deleted when all entries in the management table are unused and it is not the first management table.

@〜0 管理テーブルの削除が必要な場合、管理テーブ
ル消滅処理を実行する。すなわち、管理テーブルの領域
を解放し、前の管理テーブルのリンクポインタにNUL
Lを設定する。その後。
@~0 If the management table needs to be deleted, execute the management table deletion process. In other words, the area of the management table is released and the link pointer of the previous management table is set to NUL.
Set L. after that.

呼び出し元へ制御を戻し、処理を終了する。Returns control to the caller and ends the process.

以上、領域の獲得要求に対する管理テーブルの扱いにつ
いての処理の例を説明したが、領域の解放要求に対する
処理も、同様にエントリポインタを更新しつつ処理を行
う。領域の返却により、未使用領域の数が増えた場合に
は、エントリへの追加登録が行われ、特に、管理テーブ
ルのエントリが不足した場合には、前述したように、管
理テーブルの動的生成が行われる。
An example of processing for handling the management table in response to an area acquisition request has been described above, but processing in response to an area release request is similarly performed while updating the entry pointer. If the number of unused areas increases due to the return of the area, additional entries will be made, and especially if there are insufficient entries in the management table, the management table will be dynamically generated as described above. will be held.

この管理テーブル生成処理は9例えば第4図に示す処理
■〜■のように行われる。
This management table generation process is performed, for example, as shown in steps 1 to 2 shown in FIG.

■ 先頭の管理テーブルのアドレ・スを得る。■ Obtain the address of the first management table.

■〜■ リンクポインタがNULI、になるまで。■~■ Until the link pointer becomes NULI.

管理テーブルのリンクポインタをたどり、最終の管理テ
ーブルを探す。
Follow the link pointer of the management table and search for the final management table.

■ 最終の管理テーブルにおける未使用エントリ数がO
であるかどうかを判定する。0でない場合、管理テーブ
ルの生成は必要ないので、呼び出し元へ制御を戻す。
■ The number of unused entries in the final management table is O
Determine whether or not. If it is not 0, there is no need to generate a management table, so control is returned to the caller.

■〜■ 未使用エントリ数が0のときは、新しい管理テ
ーブルを追加するため、管理テーブルを設ける領域を、
システム空間側の領域であれば。
■~■ When the number of unused entries is 0, in order to add a new management table, the area where the management table is set up is
If it is an area on the system space side.

システム空間の領域から、プロセス空間側の領域であれ
ばプロセス空間の領域から獲得する。
If the area is on the process space side, it is acquired from the process space area.

その獲得した領域を用いて、管理テーブルの初期化を行
う。この初期化では、管理テーブルをオール0にクリア
した後、未使用エントリ数を最大エントリ数に設定する
。そして、その管理テーブルのアドレスを、現管理テー
ブルのリンクポインタに設定し、管理テーブルをリンク
する。その後5呼び出し元へ制御を戻す。
The management table is initialized using the acquired area. In this initialization, after clearing the management table to all 0s, the number of unused entries is set to the maximum number of entries. Then, the address of the management table is set in the link pointer of the current management table, and the management tables are linked. After that, control is returned to the caller.

第1図に示すエントリポインタ更新処理部14によるエ
ントリポインタ更新処理は、第5図に示す処理■〜■の
ように行われる。
The entry pointer update process by the entry pointer update processing unit 14 shown in FIG. 1 is performed as shown in processes 1 to 2 shown in FIG.

■ 現管理テーブルアドレスを退避する。■ Save the current management table address.

■ リンクポインタがN U L Lであるかどうかを
判定する。NULLである場合、処理■へ移る。
■ Determine whether the link pointer is NULL. If it is NULL, the process moves to process (2).

■ 次に、直後のエントリのサイズ(size)[4¥
JiiがNULLであるかどうかを判定する。NtJL
Lでない場合、処理■へ移る。
■ Next, the size of the entry immediately after [4\
Determine whether Jii is NULL. NtJL
If it is not L, move to process (2).

■〜■ 現管理テーブルアドレスを退避し、現管理テー
ブルアドレスを、リンクポインタの示すイ直にする。そ
して、現エントリポインタとして。
■~■ Save the current management table address and change the current management table address to the address indicated by the link pointer. And as the current entry pointer.

次の管理テーブルのエントリアドレスを設定し呼び出し
元へ制i’tllを戻す。
Sets the next management table entry address and returns control i'tll to the caller.

■ 管理テーブルを切り替える必要がない場合。■ When there is no need to switch management tables.

現エントリポインタを、エントリサイズ分だけ先に進め
るように更新し、呼び出し元へ制御を戻す。
Updates the current entry pointer to advance by the entry size, and returns control to the caller.

以上の処理によって、先頭の管理テーブルから。By the above processing, from the first management table.

順にエントリを検索する場合に、エントリポインタ更新
処理部14の外部では、管理テーブルの切り替わりを意
識する必要がなくなる。
When sequentially searching for entries, there is no need to be aware of switching of the management table outside the entry pointer update processing unit 14.

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

以上説明したように1本発明によれば5管理テブルが必
要に応じて動的に生成されるので、領域のフラグメント
が発生しても、管理テーブルの使用可能なエントリ数の
制約による影古を回避することができ、領域を効享よ(
使用することができるようになる。
As explained above, according to the present invention, management tables are dynamically generated as needed, so even if area fragmentation occurs, there is no impact due to restrictions on the number of usable entries in the management table. You can avoid and enjoy the area (
be able to use it.

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

第1図は本発明の構成例。 第2図は本発明の実施例。 第3図は本発明の実施例に係るエントリ参照・更新処理
の例 第4図は本発明の実施例に係る管理テーブル生成処理の
例。 第5図は本発明の実施例に係るエントリポインタ更新処
理の例。 第6図は従来技j・FjO例を示す。 図中、10は処理装置、11は領域要求部、12は領域
管理部、13は管理テーブルエントリ参照・更新処理部
、14はエントリポインタ更新処理部、15は管理テー
ブル生成処理部、16は管理テーブル消滅処理部、17
は記憶領域、TIT2は管理テーブル、Al−A3は管
理対象領域を表す。
FIG. 1 shows a configuration example of the present invention. FIG. 2 shows an embodiment of the present invention. FIG. 3 is an example of entry reference/update processing according to an embodiment of the present invention. FIG. 4 is an example of management table generation processing according to an embodiment of the present invention. FIG. 5 is an example of entry pointer update processing according to an embodiment of the present invention. FIG. 6 shows an example of the conventional technique j/FjO. In the figure, 10 is a processing device, 11 is an area request unit, 12 is an area management unit, 13 is a management table entry reference/update processing unit, 14 is an entry pointer update processing unit, 15 is a management table generation processing unit, and 16 is a management unit. Table disappearance processing unit, 17
represents a storage area, TIT2 represents a management table, and Al-A3 represents a management target area.

Claims (1)

【特許請求の範囲】 各エントリごとに管理対象領域の位置情報が登録される
管理テーブルを使用して、記憶領域(17)の管理を行
う計算機システムにおける領域管理処理方式において、 管理対象領域の変更の際に、既存の管理テーブル(T1
)のエントリが不足した場合、新たに別の管理テーブル
(T2)を動的に生成し、既存の管理テーブル(T1)
に新たな管理テーブル(T2)をリンクして、その新た
な管理テーブル(T2)から、管理対象領域の登録に用
いるエントリを獲得するようにしたことを特徴とする領
域管理処理方式。
[Scope of Claim] In an area management processing method in a computer system that manages a storage area (17) using a management table in which position information of a managed area is registered for each entry, the managed area is changed. , the existing management table (T1
), a new management table (T2) is dynamically generated and the existing management table (T1) is
An area management processing method characterized in that a new management table (T2) is linked to a new management table (T2), and an entry used for registering a management target area is obtained from the new management table (T2).
JP1020478A 1989-01-30 1989-01-30 Area management processing method Expired - Fee Related JP3030030B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1020478A JP3030030B2 (en) 1989-01-30 1989-01-30 Area management processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1020478A JP3030030B2 (en) 1989-01-30 1989-01-30 Area management processing method

Publications (2)

Publication Number Publication Date
JPH02201558A true JPH02201558A (en) 1990-08-09
JP3030030B2 JP3030030B2 (en) 2000-04-10

Family

ID=12028225

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1020478A Expired - Fee Related JP3030030B2 (en) 1989-01-30 1989-01-30 Area management processing method

Country Status (1)

Country Link
JP (1) JP3030030B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003228515A (en) * 2001-12-21 2003-08-15 Agere Systems Inc Method and apparatus for forming a linked list queue using a chunk-based structure
JP2006519438A (en) * 2003-02-26 2006-08-24 エミュレックス デザイン アンド マニュファクチュアリング コーポレーション Configuration and method for managing available memory resources

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63170754A (en) * 1987-01-07 1988-07-14 Fujitsu Ltd Extending method for file directory

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63170754A (en) * 1987-01-07 1988-07-14 Fujitsu Ltd Extending method for file directory

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003228515A (en) * 2001-12-21 2003-08-15 Agere Systems Inc Method and apparatus for forming a linked list queue using a chunk-based structure
JP2006519438A (en) * 2003-02-26 2006-08-24 エミュレックス デザイン アンド マニュファクチュアリング コーポレーション Configuration and method for managing available memory resources
JP2011248920A (en) * 2003-02-26 2011-12-08 Emulex Design & Manufacturing Corp Configuration and method for managing usable memory resource
JP4879014B2 (en) * 2003-02-26 2012-02-15 エミュレックス デザイン アンド マニュファクチュアリング コーポレーション Configuration and method for managing available memory resources

Also Published As

Publication number Publication date
JP3030030B2 (en) 2000-04-10

Similar Documents

Publication Publication Date Title
US8589937B2 (en) Shared file system cache in a virtual machine or LPAR environment
EP2488950B1 (en) A tiered data management method and system for high performance data monitoring
US6216199B1 (en) Hardware mechanism for managing cache structures in a data storage system
JPH08129457A (en) Method and apparatus for expansion,reduction and redistribution of external storage structure
JPH0831056B2 (en) File system for storing data and method for allocating storage space
JPH0683782A (en) Method of data processing control and computer system
US20260099362A1 (en) Memory Swapping Method, Apparatus, Computer Device and Storage Medium
CN115586973A (en) Process address space management method and device based on dynamic memory allocation technology
JP3034873B2 (en) Information processing device
KR100622114B1 (en) Efficient Dynamic Memory Management Method in Embedded System and Its System
JP3030030B2 (en) Area management processing method
Zheng et al. ISKEVA: in-SSD key-value database engine for video analytics applications
JPWO2004084095A1 (en) Information search system, information search method, information search device, information search program, and computer-readable recording medium storing the program
US6804754B1 (en) Space management in compressed main memory
JPH06214874A (en) Memory managing system
US20250363044A1 (en) On-The-Fly Memory Remapping
US8028011B1 (en) Global UNIX file system cylinder group cache
JPS603229B2 (en) Information processing method
JPH07182239A (en) Segment division managing system
JPS62160545A (en) System for managing unused area of direct access storage device
JP3013742B2 (en) Cache memory management method
JPH02193232A (en) System for retrieving free area in file
JP2000047933A (en) Bidirectional memory securing management system
JP2787107B2 (en) Buffer control system and device
JPH03222047A (en) Area control system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees