KR970022737A - Real memory management method and device in kernel through message exchange - Google Patents

Real memory management method and device in kernel through message exchange Download PDF

Info

Publication number
KR970022737A
KR970022737A KR1019950038225A KR19950038225A KR970022737A KR 970022737 A KR970022737 A KR 970022737A KR 1019950038225 A KR1019950038225 A KR 1019950038225A KR 19950038225 A KR19950038225 A KR 19950038225A KR 970022737 A KR970022737 A KR 970022737A
Authority
KR
South Korea
Prior art keywords
memory
kernel
message
mode
task
Prior art date
Application number
KR1019950038225A
Other languages
Korean (ko)
Inventor
신경봉
Original Assignee
김광호
삼성전자 주식회사
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 김광호, 삼성전자 주식회사 filed Critical 김광호
Priority to KR1019950038225A priority Critical patent/KR970022737A/en
Publication of KR970022737A publication Critical patent/KR970022737A/en

Links

Abstract

본 발명은 메시지 교환을 통한 커널에서의 실메모리 관리방법 및 장치를 개시한다. 본 발명의 방법은 중앙처리장치와, 입출력장치와, 주기억장치 등의 일련의 컴퓨터 하드웨어와 응용프로그램을 사용하여 시스템 호출을 요청하는 제1단계 ; 제1단계의 시스템 호출에 따른 커널의 서비스를 요구하기 위하여 메모리 관리 프리미티브인 라이브러리를 호출하는 제2단계 ; 라이브러리의 호출시 특권을 부여하여 커널 내부로 들어가기 위한 메모리 관련 메시지를 접수하여 교환하는 제3단계 ; 제3단계의 메모리 관련 메시지를 수신하여 커널모드에서 메모리 관련메시지의 종류 및 서비스를 해석한 후, 메모리 관련 메시지를 사용자모드로 전송하는 제4단계 ; 및 제4단계의 메모리 관련 메시기에 적합한 알고리즘의 결과값을 커널모드로 전송하여 동적 메모리 할당을 수행한 후 응용프로그램에 전송하는 제5단계를 포함한다. 따라서, 본 발명은 사용자모드의 관리자 태스크와 커널모드의 관리자 태스크 사이의 메시지 교환을 통해 실메모리 관리 서비스를 제공하므로서, 운영체제를 재구성할 수 있고 응용프로그램의 효율성이 증대된다.The present invention discloses a method and apparatus for managing a real memory in a kernel through message exchange. The method of the present invention comprises a first step of requesting a system call using a series of computer hardware and application programs such as a central processing unit, an input / output unit, a main memory unit, and the like; Invoking a library, which is a memory management primitive, to request a service of the kernel according to the system call of the first step; A third step of accepting and exchanging memory-related messages for granting privileges upon invocation of the library to enter the kernel; A fourth step of receiving the memory-related message of the third step, analyzing the type and service of the memory-related message in the kernel mode, and then transmitting the memory-related message to the user mode; And a fifth step of transmitting a result value of an algorithm suitable for the memory related message of the fourth step in kernel mode to perform dynamic memory allocation and then transmitting the result to an application program. Accordingly, the present invention can provide a real memory management service through message exchange between an administrator task in a user mode and an administrator task in a kernel mode, thereby reconfiguring an operating system and increasing application efficiency.

Description

메시지 교환을 통한 커널에서의 실메모리 관리방법 및 장치Real memory management method and device in kernel through message exchange

본 내용은 요부공개 건이므로 전문내용을 수록하지 않았음As this is a public information case, the full text was not included.

제4도는 본 발명에 의한 운영체제 모델의 시스템 호출 처리과정을 보인 구성도.4 is a block diagram showing a system call processing process of the operating system model according to the present invention.

Claims (6)

중앙처리장치와, 입출력장치와, 주기억장치 등의 일련의 컴퓨터 하드웨어와 응용프로그램을 사용하여 시스템 호출을 요청하는 제1단계 ; 상기 제1단계의 시스템 호출에 따른 커널의 서비스를 요구하기 위하여 메모리 관리 프리미티브인 라이브러리를 호출하는 제2단계 ; 상기 라이브러리의 호출시 특권을 부여하여 커널 내부로 들어가기 위한 메모리 관련 메시지를 접수하여 교환하는 제3단계 ; 상기 제3단계의 메모리 관련 메시지를 수신하여 커널모드에서 메모리 관련 메시지의 종류 및 서비스를 해석한 후, 상기 메모리 관련 메시지를 사용자모드로 전송하는 제4단계 ; 및 상기 제4단계의 메모리 관련 메시지에 적합한 알고리즘의 결과값을 커널모드로 전송하여 동적 메모리 할당을 수행한 후 상기 응용프로그램에 전송하는 제5단계를 포함하는 메시지 교환을 통한 커널에서의 실메모리 관리방법 및 장치.A first step of requesting a system call using a series of computer hardware and application programs such as a central processing unit, an input / output unit, and a main memory unit; A second step of calling a library which is a memory management primitive in order to request a service of a kernel according to the system call of the first step; A third step of accepting and exchanging a memory related message for entering a kernel by granting a privilege at the time of calling the library; A fourth step of receiving the memory-related message of the third step, analyzing the type and service of the memory-related message in kernel mode, and then transmitting the memory-related message in the user mode; And a fifth step of transmitting a result value of an algorithm suitable for the memory-related message of the fourth step in kernel mode to perform dynamic memory allocation and then transmitting the dynamic memory allocation to the application program. Method and apparatus. 중앙처리장치, 입출력장치, 주기억장치 등의 일련의 컴퓨터 하드웨어와 시스템 호출을 요청하는 사용자 태스크를 구비하는 메시지 교환을 통한 커널에서의 실메모리 관리장치에 있어서, 사용자 태스크의 시스템 호출에 따라 커널에서 사용할 수 있는 형태의 메시지를 사용자 스택에 구성하여 메시지 구성 트랩을 유발시키는 메모리 관리 프리미티브인 라이브러리 ; 상기 라이브러리를 호출할 경우 특권을 부여하여 커널로 들어가기 위한 메모리 관련 메시지를 접수하는 트랩처리부 ; 메시지 구성 트랩에 의해 커널 내부에 요구된 서비스를 해당 관리자 태스크에 전송하기 위해 메모리 관련 메시지를 교환하는 메시지 교환부 ; 상기 메시지 교환부로부터 메모리 관련 메시지를 수신하여 메모리 관련 메시지의 종류 및 서비스를 해석하여 상기 메시지 교환부로 전송하며, 사용자모드의 메모리 관리자 태스크의 결과값에 따라서 동적 메모리 할당을 수행하는 커널모드의 메모리 관리자 태스크 ; 및 상기 커널모드의 메모리 관리자에 의해 요청된 메모리 관련 메시지를 수신하여, 동적 메모리 할당 알고리즘을 수행한 후 상기 라이브러리로 전송하는 사용자모드의 메모리 관리자 태스크를 포함하는 메시지 교환을 통한 커널에서의 실메모리 관리장치.A real memory management device in the kernel through message exchange having a series of computer hardware such as a central processing unit, an input / output device, a main memory, and a user task requesting a system call. A library that is a memory management primitive that organizes messages in the user stack into message stacks and causes message configuration traps; A trap processing unit for receiving a memory related message for entering a kernel by granting a privilege when calling the library; A message exchange unit for exchanging memory-related messages to transmit a service required in the kernel by a message configuration trap to a corresponding administrator task; Receives a memory-related message from the message exchanger, interprets the type and service of a memory-related message, transmits the message to the message exchanger, and performs a dynamic memory allocation according to a result of a memory manager task in a user mode. Task; And a memory manager task of a user mode that receives a memory related message requested by the kernel mode memory manager, performs a dynamic memory allocation algorithm, and transmits the same to the library. Device. 제2항에 있어서, 상기 사용자 모드의 메모리 관리자 태스크는 다양한 동적 메모리 할당 알고리즘을 보유하며, 상기 커널모드의 메모리 관리자 태스크는 동적 메모리 할당 알고리즘을 제외한 메모리 관리에 필요한 기능을 보유함을 특징으로 하는 메시지 교환을 통한 커널에서의 실메모리 관리장치.The message of claim 2, wherein the memory manager task of the user mode has various dynamic memory allocation algorithms, and the memory manager task of the kernel mode has functions necessary for memory management except for the dynamic memory allocation algorithm. Real memory management in the kernel through swapping. 제2항에 있어서, 상기 사용자 모드의 메모리 관리자 태스크와 상기 커널모드의 메모리 관리자 태스크는 시스템 호출을 사용하며 상호 메시지를 교환함을 특징으로 하는 메시지 교환을 통한 커널에서의 실메모리 관리장치.3. The apparatus of claim 2, wherein the memory manager task in the user mode and the memory manager task in the kernel mode use system calls to exchange messages with each other. 제2항에 있어서, 상기 사용자 모드의 메모리 관리자 태스크는 커널 외부에서 구동되며 사용자가 임의의 동적 메모리 할당 알고리즘을 구현함을 특징으로 하는 메시지 교환을 통한 커널에서의 실메모리 관리장치.3. The apparatus of claim 2, wherein the memory manager task of the user mode is executed outside the kernel and the user implements an arbitrary dynamic memory allocation algorithm. 제2항에 있어서, 상기 커널모드의 메모리 관리자 태스크는 죤 생성함수 호출시 동적 할당방법에 대한 정책정보를 인자로 넘겨주고, 상기 사용자 모드의 메모리 관리자 태스크에서 동적 할당방법에 대한 정책정보를 이용하여 해당 알고리즘을 구동함을 특징으로 하는 메시지 교환을 통한 커널에서의 실메모리 관리장치.The memory manager task of claim 2, wherein the memory manager task of the kernel mode passes policy information on the dynamic allocation method as a parameter when the zone creation function is called, and uses the policy information on the dynamic allocation method on the memory manager task of the user mode. Real memory management device in the kernel through the message exchange, characterized in that for driving the algorithm. ※ 참고사항 : 최초출원 내용에 의하여 공개하는 것임.※ Note: The disclosure is based on the initial application.
KR1019950038225A 1995-10-30 1995-10-30 Real memory management method and device in kernel through message exchange KR970022737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019950038225A KR970022737A (en) 1995-10-30 1995-10-30 Real memory management method and device in kernel through message exchange

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019950038225A KR970022737A (en) 1995-10-30 1995-10-30 Real memory management method and device in kernel through message exchange

Publications (1)

Publication Number Publication Date
KR970022737A true KR970022737A (en) 1997-05-30

Family

ID=66584884

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019950038225A KR970022737A (en) 1995-10-30 1995-10-30 Real memory management method and device in kernel through message exchange

Country Status (1)

Country Link
KR (1) KR970022737A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100420268B1 (en) * 2001-12-21 2004-03-02 한국전자통신연구원 Kernel scheduling method using stacks

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100420268B1 (en) * 2001-12-21 2004-03-02 한국전자통신연구원 Kernel scheduling method using stacks

Similar Documents

Publication Publication Date Title
EP0648354B1 (en) Method and system for implementation-independent interface specification
JP3370704B2 (en) Communication control method
US6983285B2 (en) Apparatus and method for dynamically verifying information in a distributed system
US5526491A (en) System and method for calling selected service procedure remotely by utilizing conditional construct switch statement to determine the selected service procedure in common stub procedure
EP0690375A2 (en) Persistent object-mapping in an object-oriented environment
US7039691B1 (en) Java virtual machine configurable to perform as a web server
Gunningberg et al. Application protocols and performance benchmarks
JP4750944B2 (en) System and method for providing efficient data references encapsulated in an object-oriented controller and distributed control system using the system and method
Decouchant et al. A synchronization mechanism for an object oriented distributed system
JPH07244644A (en) Agent management system
GB2304430A (en) Managing exceptions
KR20010041227A (en) Apparatus and method for dynamically verifying information in a distributed system
KR970022737A (en) Real memory management method and device in kernel through message exchange
CA2224466C (en) Transfer of basic knowledge to agents
Bósa An Ambient ASM Model for Client-to-Client Interaction via Cloud Computing.
JP2002318700A (en) Providing/control method for operation management information of virtual computer system and virtual computer system
CN114070820A (en) Domain name redirection method, device, medium and electronic equipment
KR920008602A (en) Computer system with multiple input / output devices sharing address space and communication management method between input / output device and processor
EP1544733B1 (en) Data processing system and method
US20020169981A1 (en) Process and component for inquiring about security relationships
KR100231853B1 (en) Method of managing service feature interaction in ain service switching system
NO20004687L (en) Management of a telecommunications system
KR940015882A (en) Communication protocol
Berque et al. Monitoring an Algorithm's Execution.
KR20220098611A (en) Mobile device with hybrid app installed and method for socket port allocation by hybrid application

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application