JPH0764852A - Assurance system for dynamically reserved area - Google Patents

Assurance system for dynamically reserved area

Info

Publication number
JPH0764852A
JPH0764852A JP5229460A JP22946093A JPH0764852A JP H0764852 A JPH0764852 A JP H0764852A JP 5229460 A JP5229460 A JP 5229460A JP 22946093 A JP22946093 A JP 22946093A JP H0764852 A JPH0764852 A JP H0764852A
Authority
JP
Japan
Prior art keywords
area
release
reserved
reservation
list
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
JP5229460A
Other languages
Japanese (ja)
Other versions
JP2629572B2 (en
Inventor
Akiko Yamaguchi
昭子 山口
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP5229460A priority Critical patent/JP2629572B2/en
Publication of JPH0764852A publication Critical patent/JPH0764852A/en
Application granted granted Critical
Publication of JP2629572B2 publication Critical patent/JP2629572B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To prevent a software fault due to destruction of an area by preventing one process from reserving the area released by another process just after this release. CONSTITUTION:An area reservation processing part 31 reserves an idle area 14 from an idle area list 15 in accordance with the area reservation request from a dynamic area reservation/release request source 5 to generate a reserved area 11. An area hold processing part 32 initializes the pertinent reserved area 11 in accordance with the area release request from the dynamic area reservation/release request source 5 and chains it as the held area 12 to a held area list 13. When a preliminarily determined release condition is satisfied, an area release processing part 33 checks the wrong access of the held area 12, and the held area 12 is released from the held area list 13 and is chained as the idle area 14 to an idle area list 15 if the wrong access is not executed, but the held area 12 is not released and this state is reported to the dynamic area reservation/release request source 5 if the wrong access is executed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は動的確保領域の保証方式
に関し、特に動的領域確保/解放要求元からの領域確保
要求に応じて領域を確保し、領域解放要求に応じて領域
を解放する動的領域確保/解放管理機構における動的確
保領域の保証方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for guaranteeing a dynamically secured area, and more particularly, it secures an area in response to an area securing request from a dynamic area securing / releasing request source, and releases the area in response to an area releasing request. The present invention relates to a method for guaranteeing a dynamically secured area in a dynamic area secured / released management mechanism that performs

【0002】[0002]

【従来の技術】従来、オペレーティングシステムの動的
領域確保/解放処理では、ソフトウェア実行中に領域が
動的に確保され、不要となった時点で領域が解放されて
再利用されていた。
2. Description of the Related Art Conventionally, in the dynamic area allocation / release processing of an operating system, an area was dynamically allocated during software execution, and the area was released and reused when it became unnecessary.

【0003】ところで、あるプロセスが使用していた領
域を解放した直後に他のプロセスが別の目的のために同
領域を確保する場合があるが、このタイミングで直前に
使用していたプロセスが同領域を不正にアクセスして内
容を破壊し、他のプロセスの誤動作を引き起こしてソフ
トウェア障害が発生することがある。
By the way, there are cases where another process reserves the same area for another purpose immediately after releasing the area used by a certain process. At this timing, the process used immediately before is the same. There is a case that the software is damaged by illegally accessing the area and destroying the contents, causing malfunction of other processes.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の動的領
域確保/解放処理では、ソフトウェア実行中にあるプロ
セスが領域を解放した直後に他のプロセスが別の目的の
ために同領域を確保した場合、直前に使用していたプロ
セスが同領域を不正にアクセスして内容を破壊し、他の
プロセスの誤動作を引き起こしてソフトウェア障害が発
生することがあるので、障害が発見されたときにはかな
りソフトウェアの実行が進んでいるために、ソフトウェ
ア障害の解析が困難で不明となる場合が多いという問題
点があった。
In the above-mentioned conventional dynamic area allocation / release processing, immediately after a process during software execution releases an area, another process allocates the area for another purpose. In this case, the process used immediately before may illegally access the same area and destroy the contents, causing the malfunction of other processes, resulting in software failure. Since the execution is progressing, there is a problem that analysis of software failure is difficult and often unknown.

【0005】本発明の目的は、上述の点に鑑み、確保領
域を直ちに空き領域とはせずに保留領域として暫時保留
した後に空き領域とすることにより、あるプロセスが領
域を解放した直後に他のプロセスが同領域を確保するこ
とがないようにして、領域の破壊によるソフトウェア障
害を未然に防止できるようにした動的確保領域の保証方
式を提供することにある。
In view of the above points, an object of the present invention is to make a reserved area not a free area immediately but to temporarily hold it as a holding area and then make it a free area, so that another process is immediately released after a process releases the area. It is an object of the present invention to provide a method of guaranteeing a dynamically secured area that prevents the software failure due to the destruction of the area from being prevented by the process of (1) to secure the same area.

【0006】なお、複数のセルプールユニットを考慮
し、ある1つのセルプールユニットを返却するか否かの
判定を行うに当たって、他のセルプールユニットにおけ
る空きセルの存在個数をチェックするようにして、セル
プールユニットが返却直後に獲得されるような非所望な
制御状態を未然に防止するようにしたセルプール動的返
却制御方式が知られているが(特公平3−15210号
公報参照)、本願発明のような領域の保留状態を設けて
領域の破壊によるソフトウェア障害を防止するようにし
たものではない。
In consideration of a plurality of cell pool units, in determining whether or not to return a certain cell pool unit, the number of empty cells existing in other cell pool units is checked, A cell pool dynamic return control system is known in which an undesired control state in which a cell pool unit is acquired immediately after return is prevented (see Japanese Patent Publication No. 3-15210). It is not intended to prevent the software failure due to the destruction of the area by providing the pending state of the area.

【0007】[0007]

【課題を解決するための手段】本発明の動的確保領域の
保証方式は、動的領域確保/解放要求元からの領域確保
要求に応じて領域を確保し、領域解放要求に応じて領域
を解放する動的領域確保/解放管理機構において、領域
確保要求に応じて空き領域を確保して確保領域を生成す
る領域確保処理部と、領域解放要求に応じて該当する確
保領域を初期化して保留領域とする領域保留処理部と、
あらかじめ決められた解放条件が成立したときに保留領
域の不正アクセスを検査して不正アクセスが行われてい
なければ解放を行って空き領域とする領域解放処理部と
を有する。
According to a method of guaranteeing a dynamically secured area of the present invention, an area is secured in accordance with an area securing request from a dynamic area securing / releasing request source, and the area is secured in response to the area releasing request. In the dynamic area allocation / release management mechanism to be released, an area allocation processing unit that allocates an empty area in response to an area allocation request and creates an allocation area, and initializes and holds the corresponding allocation area in response to an area allocation request. Area reservation processing section to be an area,
It has an area release processing unit that inspects an unauthorized access to the reserved area when a predetermined release condition is satisfied and releases the unused area to make a free area if the unauthorized access is not performed.

【0008】[0008]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0009】図1は、本発明の一実施例に係る動的確保
領域の保証方式の構成を示すブロック図である。本実施
例の動的確保領域の保証方式は、動的確保/解放領域1
と、動的領域確保/解放処理部3および領域保留状態管
理情報部4からなる動的領域確保/解放管理機構2と、
動的領域確保/解放要求元5とから、その主要部が構成
されている。
FIG. 1 is a block diagram showing the structure of a dynamic reserved area guarantee system according to an embodiment of the present invention. The method of guaranteeing the dynamically secured area according to the present embodiment is based on the dynamically secured / released area 1
And a dynamic area allocation / release management mechanism 2 comprising a dynamic area allocation / release processing section 3 and an area pending state management information section 4,
The main part is composed of the dynamic area reservation / release request source 5.

【0010】動的確保/解放領域1は、主記憶(仮想ア
ドレス空間を含む)上の領域であり、確保領域11と、
保留領域12をチェインした保留領域リスト13と、空
き領域14をチェインした空き領域リスト15とが存在
している。なお、特に図示はしないが、保留領域12お
よび空き領域14には、保留領域リスト13および空き
領域リスト15を形成するための前ポインタおよび後ポ
インタが付随している。また、確保領域11および空き
領域14には、サイズの情報が付随している。
The dynamic allocation / release area 1 is an area on the main memory (including the virtual address space), and includes the allocation area 11 and
There are a reserved area list 13 in which the reserved area 12 is chained and a free area list 15 in which a free area 14 is chained. Although not specifically shown, the reserved area 12 and the free area 14 are accompanied by a front pointer and a rear pointer for forming the reserved area list 13 and the free area list 15. In addition, size information is attached to the reserved area 11 and the free area 14.

【0011】図2を参照すると、領域保留状態管理情報
部4は、先頭ポインタ41と、末尾ポインタ42と、空
き領域リストサイズ43と、プール基準値44と、プー
ル合計サイズ45とを管理している。先頭ポインタ41
は保留領域リスト13の先頭の保留領域12を指し、末
尾ポインタ42は保留領域リスト13の末尾の保留領域
12を指す。空き領域リストサイズ43は、空き領域リ
スト15の空き領域14の合計サイズである。プール基
準値44は、保留領域12を空き領域リスト15に組み
込むためのタイミングを設けるために、動的確保/解放
領域1の合計サイズの1割の値を設定している。プール
合計サイズ45は、保留領域リスト13の保留領域12
の合計サイズを設定している。
Referring to FIG. 2, the area reservation state management information section 4 manages a head pointer 41, a tail pointer 42, a free area list size 43, a pool reference value 44, and a pool total size 45. There is. Head pointer 41
Indicates the head reserved area 12 of the reserved area list 13, and the tail pointer 42 points at the tail reserved area 12 of the reserved area list 13. The free area list size 43 is the total size of the free areas 14 in the free area list 15. The pool reference value 44 is set to a value of 10% of the total size of the dynamic securement / release area 1 in order to provide a timing for incorporating the reserved area 12 into the free area list 15. The total pool size 45 is the holding area 12 of the holding area list 13.
The total size of is set.

【0012】保留領域リスト13は、保留領域12を領
域解放要求を受けた順番にチェインし、一番古い保留領
域12は先頭ポインタ41で指され、一番新しい保留領
域12は末尾ポインタ42で指される。保留領域リスト
13は、古い保留領域12または新しい保留領域12の
どちらからでもサーチ可能なように双方向リストとなっ
ている。
The reserved area list 13 chains the reserved areas 12 in the order in which the area release request is received. The oldest reserved area 12 is pointed to by the head pointer 41, and the newest reserved area 12 is pointed to by the tail pointer 42. To be done. The holding area list 13 is a bidirectional list so that the old holding area 12 or the new holding area 12 can be searched.

【0013】動的領域確保/解放処理部3は、オペレー
ティングシステムの一部として設けられ、領域確保処理
部31と、領域保留処理部32と、領域解放処理部33
とを含んで構成されている。
The dynamic area reservation / release processing section 3 is provided as a part of the operating system, and has an area reservation processing section 31, an area reservation processing section 32, and an area release processing section 33.
It is configured to include and.

【0014】領域確保処理部31は、動的領域確保/解
放要求元5からの領域確保要求に応じて、動的確保/解
放領域1の空き領域リスト15から空き領域14を確保
して、確保領域11を生成する。
The area reservation processing unit 31 reserves the free area 14 from the free area list 15 of the dynamic reservation / release area 1 in response to the area reservation request from the dynamic area reservation / release request source 5 and reserves it. Region 11 is generated.

【0015】領域保留処理部32は、動的領域確保/解
放要求元5からの領域解放要求に応じて、動的確保/解
放領域1の該当する確保領域11を保留領域12として
保留領域リスト13にチェインする。
In response to an area release request from the dynamic area reservation / release request source 5, the area reservation processor 32 sets the corresponding reservation area 11 of the dynamic reservation / release area 1 as a reservation area 12 and holds area list 13 Chain to.

【0016】図3を参照すると、領域保留処理部32の
処理は、領域保留ステップ101と、領域ゼロクリアス
テップ102と、正常終了通知ステップ103からな
る。
Referring to FIG. 3, the processing of the area reservation processing section 32 includes an area reservation step 101, an area zero clear step 102, and a normal end notification step 103.

【0017】領域解放処理部33は、プール合計サイズ
45がプール基準値44に達したときにプール合計サイ
ズ45がプール基準値44以下になるまで保留領域リス
ト13からの保留領域12の解放を行い、空き領域14
として空き領域リスト15にチェインする。また、領域
解放処理部33は、領域確保要求時に空き領域リスト1
5に空き領域14が存在しなかった場合に、保留領域リ
スト13のすべての保留領域12の解放を行い、空き領
域14として空き領域リスト15にチェインする。
The area releasing processor 33 releases the reserved area 12 from the reserved area list 13 until the pool total size 45 reaches the pool reference value 44 or less when the pool total size 45 reaches the pool reference value 44. , Free space 14
As a chain to the free area list 15. In addition, the area release processing unit 33 makes the free area list 1 when the area reservation request is made.
If the free area 14 does not exist in 5, all the reserved areas 12 in the reserved area list 13 are released, and the free area list 15 is chained as the free area 14.

【0018】図4を参照すると、領域解放処理部33の
処理は、アドレス取得ステップ201と、不正アクセス
検査ステップ202と、不正アクセス通知ステップ20
3と、保留領域解放ステップ204とからなる。
Referring to FIG. 4, the processing of the area release processing section 33 is performed by an address acquisition step 201, an unauthorized access inspection step 202, and an unauthorized access notification step 20.
3 and the reserved area releasing step 204.

【0019】図5は、本実施例の動的確保領域の保証方
式における領域の状態遷移図である。確保領域11は、
アドレスを指定する領域解放要求に応じて保留領域12
へと遷移し、保留領域12は解放条件の成立に応じて空
き領域14に遷移し、空き領域14はサイズを指定する
領域確保要求に応じて確保領域11に遷移する。
FIG. 5 is a state transition diagram of the area in the guarantee method of the dynamically secured area of this embodiment. The secured area 11 is
Reservation area 12 in response to an area release request that specifies an address
Transition to the reserved area 12, the reserved area 12 transitions to the free area 14 according to the establishment of the release condition, and the free area 14 transitions to the reserved area 11 in response to an area reservation request specifying the size.

【0020】次に、このように構成された本実施例の動
的確保領域の保証方式の動作について説明する。
Next, the operation of the dynamically secured area guarantee system of this embodiment having the above-mentioned configuration will be described.

【0021】動的領域確保/解放要求元5からサイズを
指定する領域確保要求があると、動的領域確保/解放処
理部3の領域確保処理部31は、空き領域リスト15か
ら要求されたサイズ以上の大きさで最小の空き領域14
を確保して確保領域11とする。これとともに、領域確
保処理部31は、領域保留状態管理情報部4の空き領域
リストサイズ43を減算する。そして、領域確保処理部
31は、動的領域確保/解放要求元5に領域確保の正常
終了を通知する。このとき、空き領域リスト15に要求
されたサイズ以上の空き領域14がなければ、領域確保
処理部31は、領域解放処理部33に保留領域リスト1
3のすべての保留領域12の解放を促す。
When an area reservation request is issued from the dynamic area reservation / release request source 5, the area reservation processor 31 of the dynamic area reservation / release processor 3 requests the size requested from the free area list 15. The minimum free space 14 of the above size
Is secured to form a secured area 11. At the same time, the area reservation processing section 31 subtracts the free area list size 43 of the area reservation state management information section 4. Then, the area reservation processing unit 31 notifies the dynamic area reservation / release request source 5 of the normal end of the area reservation. At this time, if there is no free area 14 larger than the requested size in the free area list 15, the area reservation processing unit 31 causes the area release processing unit 33 to hold the reserved area list 1.
Prompt the release of all the reserved areas 12 of No. 3.

【0022】領域解放処理部33は、領域保留状態管理
情報部4の先頭ポインタ41(または末尾ポインタ4
2)が指す保留領域リスト13の先頭(または末尾)の
保留領域12のアドレスを取得し(ステップ201)、
解放する保留領域12内にゼロ以外の不正なデータが書
き込まれていないかどうかを検査する(ステップ20
2)。不正なデータが書き込まれていた場合には、領域
解放処理部33は、領域の保証が行えないために保留領
域12の解放は行わず、不正アクセスがあったことを動
的領域確保/解放要求元5に通知する(ステップ20
3)。不正なデータが書き込まれていなかった場合に
は、不正アクセスがなかったことになるので、領域解放
処理部33は、保留領域リスト13から保留領域12を
解放して空き領域14として空き領域リスト15にチェ
インするとともに、領域保留状態管理情報部4の先頭ポ
インタ41(または末尾ポインタ42),空き領域リス
トサイズ43およびプール合計サイズ45を更新する
(ステップ204)。領域解放処理部33は、この処理
を保留領域リスト13のすべての保留領域12に対して
繰り返す。
The area release processing section 33 uses the head pointer 41 (or the tail pointer 4 of the area holding state management information section 4).
The address of the first (or last) reserved area 12 of the reserved area list 13 pointed to by 2) is acquired (step 201),
It is checked whether or not illegal data other than zero is written in the reserved area 12 to be released (step 20).
2). When the illegal data is written, the area release processing unit 33 does not release the reserved area 12 because the area cannot be guaranteed, and the dynamic area securement / release request is issued to indicate that the unauthorized access is made. Notify source 5 (step 20)
3). If the illegal data has not been written, it means that there is no illegal access, so the area release processing unit 33 releases the reserved area 12 from the reserved area list 13 and sets the free area list 15 as the free area 14. And the head pointer 41 (or the tail pointer 42), the free area list size 43, and the pool total size 45 of the area pending state management information section 4 are updated (step 204). The area release processing unit 33 repeats this process for all the reserved areas 12 in the reserved area list 13.

【0023】一方、動的領域確保/解放要求元5からア
ドレスを指定する領域解放要求があると、動的領域確保
/解放処理部3の領域保留処理部32は、動的確保/解
放領域1の該当する確保領域11を保留領域12として
保留領域リスト13にチェインし(ステップ101)、
該当する保留領域12内の初期化(ゼロクリア)を行う
(ステップ102)。これとともに、領域保留処理部3
2は、領域保留状態管理情報部4の末尾ポインタ42お
よびプール合計サイズ45を更新する。そして、領域保
留処理部32は、動的領域確保/解放要求元5に領域解
放の正常終了を通知する(ステップ103)。
On the other hand, when there is an area release request for designating an address from the dynamic area reservation / release request source 5, the area reservation processing section 32 of the dynamic area reservation / release processing section 3 causes the dynamic area reservation / release area 1 to move. Chain the corresponding reserved area 11 as the reserved area 12 to the reserved area list 13 (step 101),
The corresponding holding area 12 is initialized (cleared to zero) (step 102). Along with this, the area reservation processing unit 3
2 updates the tail pointer 42 and the pool total size 45 of the area reservation state management information section 4. Then, the area reservation processing unit 32 notifies the dynamic area reservation / release request source 5 of the normal end of the area release (step 103).

【0024】プール合計サイズ45の更新の結果、プー
ル合計サイズ45がプール基準値44に達したときに
は、領域解放処理部33は、領域保留状態管理情報部4
の先頭ポインタ41が指す保留領域リスト13の先頭の
保留領域12のアドレスを取得し(ステップ201)、
解放する保留領域12内にゼロ以外の不正なデータが書
き込まれていないかどうかを検査する(ステップ20
2)。不正なデータが書き込まれていた場合には、領域
解放処理部33は、領域の保証が行えないために保留領
域12の解放は行わず、不正アクセスがあったことを動
的領域確保/解放要求元5に通知する(ステップ20
3)。不正なデータが書き込まれていなかった場合に
は、不正アクセスがなかったことになるので、領域解放
処理部33は、保留領域リスト13から保留領域12を
解放して空き領域14として空き領域リスト15にチェ
インするとともに、領域保留状態管理情報部4の先頭ポ
インタ41,空き領域リストサイズ43およびプール合
計サイズ45を更新する(ステップ204)。領域解放
処理部33は、この処理をプール合計サイズ45がプー
ル基準値44以下になるまで繰り返す。
As a result of updating the pool total size 45, when the pool total size 45 reaches the pool reference value 44, the area release processing unit 33 causes the area pending state management information unit 4
The address of the head reserved area 12 of the reserved area list 13 pointed to by the head pointer 41 is acquired (step 201),
It is checked whether or not illegal data other than zero is written in the reserved area 12 to be released (step 20).
2). When the illegal data is written, the area release processing unit 33 does not release the reserved area 12 because the area cannot be guaranteed, and the dynamic area securement / release request is issued to indicate that the unauthorized access is made. Notify source 5 (step 20)
3). If the illegal data has not been written, it means that there is no illegal access, so the area release processing unit 33 releases the reserved area 12 from the reserved area list 13 and sets the free area list 15 as the free area 14. And the head pointer 41, the free area list size 43, and the pool total size 45 of the area pending state management information section 4 are updated (step 204). The area release processing unit 33 repeats this processing until the pool total size 45 becomes equal to or smaller than the pool reference value 44.

【0025】[0025]

【発明の効果】以上説明したように本発明は、動的領域
確保/解放処理において、領域解放要求時に確保領域を
一旦保留領域とし、空き領域として解放するまでに時間
をおき、保留領域を解放するときに不正アクセスがなか
ったかどうかを検査することにより、動的領域確保の対
象となる空き領域の内容を保証することで、使用中に確
保領域内を破壊されることによる誤動作によって発生す
るソフトウェア障害を未然に防止することができるとい
う効果がある。
As described above, according to the present invention, in the dynamic area allocating / releasing process, the reserved area is temporarily set as the reserved area at the time of the area release request, and a certain time elapses before the reserved area is released, and the reserved area is released. Software that is generated by malfunction due to destruction of the reserved area during use by guaranteeing the contents of the free area that is the target of the dynamic area by checking whether there is any unauthorized access when performing The effect is that obstacles can be prevented.

【0026】また、不正アクセスの検出が可能であるの
で、不正アクセスの通知に基づいてプロセスの動作を停
止させることにより、ソフトウェアの暴走を抑え、障害
解析を容易化することができるという効果がある。
Further, since it is possible to detect unauthorized access, by stopping the operation of the process based on the notification of unauthorized access, it is possible to suppress software runaway and facilitate failure analysis. .

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

【図1】本発明の一実施例に係る動的確保領域の保証方
式の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a guarantee system of a dynamically secured area according to an embodiment of the present invention.

【図2】図1中の領域保留状態管理情報部の内容と保留
領域リストを例示する図である。
FIG. 2 is a diagram showing an example of contents of an area reservation state management information section in FIG. 1 and a reservation area list.

【図3】図1中の領域保留処理部の処理を示す流れ図で
ある。
FIG. 3 is a flowchart showing the processing of an area reservation processing section in FIG.

【図4】図1中の領域解放処理部の処理を示す流れ図で
ある。
FIG. 4 is a flowchart showing a process of an area release processing unit in FIG.

【図5】本実施例の動的確保領域の保証方式における領
域の状態遷移図である。
FIG. 5 is a state transition diagram of an area in the dynamically secured area guarantee method of the present embodiment.

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

1 動的確保/解放領域 2 動的領域確保/解放管理機構 3 動的領域確保/解放処理部 4 領域保留状態管理情報部 5 動的領域確保/解放要求元 11 確保領域 12 保留領域 13 保留領域リスト 14 空き領域 15 空き領域リスト 31 領域確保処理部 32 領域保留処理部 33 領域解放処理部 41 先頭ポインタ 42 末尾ポインタ 43 空き領域リストサイズ 44 プール基準値 45 プール合計サイズ 1 dynamic allocation / release area 2 dynamic area allocation / release management mechanism 3 dynamic area allocation / release processing unit 4 area reserved state management information section 5 dynamic area allocation / release request source 11 reserved area 12 reserved area 13 reserved area List 14 Free area 15 Free area list 31 Area reservation processing section 32 Area reservation processing section 33 Area release processing section 41 Start pointer 42 End pointer 43 Free area list size 44 Pool reference value 45 Pool total size

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 動的領域確保/解放要求元からの領域確
保要求に応じて領域を確保し、領域解放要求に応じて領
域を解放する動的領域確保/解放管理機構において、 領域確保要求に応じて空き領域を確保して確保領域を生
成する領域確保処理部と、 領域解放要求に応じて該当する確保領域を初期化して保
留領域とする領域保留処理部と、 あらかじめ決められた解放条件が成立したときに保留領
域の不正アクセスを検査して不正アクセスが行われてい
なければ解放を行って空き領域とする領域解放処理部と
を有することを特徴とする動的確保領域の保証方式。
1. A dynamic area allocation / release management mechanism that allocates an area in response to an area allocation request from a dynamic area allocation / release request source and releases the area in response to the area release request. Depending on the area release request, an area reservation processing section that reserves a free area and creates a reserved area, an area reservation processing section that initializes the corresponding reserved area to a reserved area, and a predetermined release condition A method for guaranteeing a dynamically secured area, which comprises an area release processing unit that checks for unauthorized access to a reserved area when it is established, and releases it when it is not accessed to make it an empty area.
【請求項2】 前記領域解放処理部が、保留領域の不正
アクセスの検査で不正アクセスが行われていれば保留領
域の解放を行わずにその旨の通知を行う請求項1記載の
動的確保領域の保証方式。
2. The dynamic allocation according to claim 1, wherein the area release processing unit notifies the holding area without releasing the holding area if an unauthorized access is checked in an unauthorized access inspection of the holding area. Area guarantee method.
【請求項3】 前記領域確保処理部が空き領域リストか
ら空き領域を確保して確保領域を生成し、前記領域保留
処理部が確保領域を初期化して保留領域として保留領域
リストにチェインし、前記領域解放処理部が保留領域リ
ストから保留領域を取り出して空き領域として空き領域
リストにチェインする請求項1記載の動的確保領域の保
証方式。
3. The area reservation processing section reserves a free area from a free area list to generate a reserved area, and the area reservation processing section initializes the reserved area and chains it as a reserved area in the reserved area list, 2. The dynamically secured area guarantee method according to claim 1, wherein the area release processing unit extracts the reserved area from the reserved area list and chains it as a free area in the free area list.
【請求項4】 前記保留領域リストの先頭ポインタ,末
尾ポインタ,空きリストサイズ,プール基準値およびプ
ール合計サイズを管理する領域保留状態管理情報部を備
え、前記解放条件が、保留領域のプール合計サイズがプ
ール基準値に達したとき、および領域確保要求時に空き
領域が存在しなかったときである請求項3記載の動的確
保領域の保証方式。
4. An area reservation state management information section for managing the first pointer, the last pointer, the free list size, the pool reference value and the pool total size of the reservation area list, wherein the release condition is the pool total size of the reservation area. 4. The method for guaranteeing a dynamically secured area according to claim 3, wherein when the pool reference value is reached, and when there is no free area at the time of the area securing request.
JP5229460A 1993-08-23 1993-08-23 Guarantee method of dynamically allocated area Expired - Fee Related JP2629572B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5229460A JP2629572B2 (en) 1993-08-23 1993-08-23 Guarantee method of dynamically allocated area

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5229460A JP2629572B2 (en) 1993-08-23 1993-08-23 Guarantee method of dynamically allocated area

Publications (2)

Publication Number Publication Date
JPH0764852A true JPH0764852A (en) 1995-03-10
JP2629572B2 JP2629572B2 (en) 1997-07-09

Family

ID=16892554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5229460A Expired - Fee Related JP2629572B2 (en) 1993-08-23 1993-08-23 Guarantee method of dynamically allocated area

Country Status (1)

Country Link
JP (1) JP2629572B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004013522A1 (en) * 2004-03-19 2005-10-06 Aug. Winkhaus Gmbh & Co. Kg key
JP2014523561A (en) * 2011-06-10 2014-09-11 インターナショナル・ビジネス・マシーンズ・コーポレーション Storage class memory unconfiguration command
US9372640B2 (en) 2011-06-10 2016-06-21 International Business Machines Corporation Configure storage class memory command
US9411737B2 (en) 2011-06-10 2016-08-09 International Business Machines Corporation Clearing blocks of storage class memory
US9418006B2 (en) 2011-06-10 2016-08-16 International Business Machines Corporation Moving blocks of data between main memory and storage class memory
US9477417B2 (en) 2011-06-10 2016-10-25 International Business Machines Corporation Data returned responsive to executing a start subchannel instruction
JP2020095446A (en) * 2018-12-12 2020-06-18 日本電気株式会社 Information processing device, memory initialization control method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS605358A (en) * 1983-06-24 1985-01-11 Fujitsu Ltd Cell control system of storage area
JPS6224355A (en) * 1985-07-24 1987-02-02 Hitachi Ltd Buffer control system
JPH02166540A (en) * 1988-12-20 1990-06-27 Fujitsu Ltd Detecting system for access violation
JPH04330538A (en) * 1991-05-02 1992-11-18 Nec Corp Data storage system
JPH05189300A (en) * 1992-01-10 1993-07-30 Fujitsu Ltd Buffer controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS605358A (en) * 1983-06-24 1985-01-11 Fujitsu Ltd Cell control system of storage area
JPS6224355A (en) * 1985-07-24 1987-02-02 Hitachi Ltd Buffer control system
JPH02166540A (en) * 1988-12-20 1990-06-27 Fujitsu Ltd Detecting system for access violation
JPH04330538A (en) * 1991-05-02 1992-11-18 Nec Corp Data storage system
JPH05189300A (en) * 1992-01-10 1993-07-30 Fujitsu Ltd Buffer controller

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004013522A1 (en) * 2004-03-19 2005-10-06 Aug. Winkhaus Gmbh & Co. Kg key
JP2014523561A (en) * 2011-06-10 2014-09-11 インターナショナル・ビジネス・マシーンズ・コーポレーション Storage class memory unconfiguration command
US9372640B2 (en) 2011-06-10 2016-06-21 International Business Machines Corporation Configure storage class memory command
US9411737B2 (en) 2011-06-10 2016-08-09 International Business Machines Corporation Clearing blocks of storage class memory
US9418006B2 (en) 2011-06-10 2016-08-16 International Business Machines Corporation Moving blocks of data between main memory and storage class memory
US9477417B2 (en) 2011-06-10 2016-10-25 International Business Machines Corporation Data returned responsive to executing a start subchannel instruction
US9747033B2 (en) 2011-06-10 2017-08-29 International Business Machines Corporation Configure storage class memory command
US10013256B2 (en) 2011-06-10 2018-07-03 International Business Machines Corporation Data returned responsive to executing a start subchannel instruction
US10387040B2 (en) 2011-06-10 2019-08-20 International Business Machines Corporation Configure storage class memory command
US11163444B2 (en) 2011-06-10 2021-11-02 International Business Machines Corporation Configure storage class memory command
JP2020095446A (en) * 2018-12-12 2020-06-18 日本電気株式会社 Information processing device, memory initialization control method, and program

Also Published As

Publication number Publication date
JP2629572B2 (en) 1997-07-09

Similar Documents

Publication Publication Date Title
EP0815512B1 (en) Computer backup system operable with open files
US7380245B1 (en) Technique for detecting corruption associated with a stack in a storage device
US7770177B2 (en) System for memory reclamation based on thread entry and release request times
JP2004295882A (en) Deallocation of computer data in multithreaded computer
CA2165493A1 (en) Method and apparatus for crash safe enforcement of mutually exclusive access to shared resources in a multitasking computer system
US6502122B1 (en) Method and apparatus for executing transaction programs in parallel
US6308243B1 (en) Method and system for controlling exclusive access to shared resources in computers
JPH0764852A (en) Assurance system for dynamically reserved area
EP0695986A1 (en) System for providing access protection on media storage devices
US5745757A (en) Multiprocessor system with microprogrammed means for dispatching processes to processors
US5809551A (en) Pending page release
KR102254159B1 (en) Method for detecting real-time error in operating system kernel memory
US7788529B2 (en) Method for safely interrupting blocked work in a server
JP3346480B2 (en) Buffer chain breakage detection device
JP2505020B2 (en) Data processing system
US20220308854A1 (en) Bare-metal deployment
JP3005473B2 (en) Buffer management device
JPS5873099A (en) Data processor
JPH03116261A (en) Multiprocessor control system
AU695339C (en) Computer backup system operable with open files
JPH02253359A (en) Data contents protection system for dynamic allocation area
JPH07121421A (en) Exclusive control system for file and exclusive control method for file using the system
JPH11161506A (en) Dispatch method for information processor, information processor and storage medium thereof
JP2001256065A (en) Exclusive control method and computer system
JPH09106377A (en) Memory managing device

Legal Events

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