Unlock instant, AI-driven research and patent intelligence for your innovation.

Memory allocation management method for linux system

A technology of memory allocation and management methods, applied in the field of memory allocation management in software systems, can solve problems such as the inability of user processes to specify access to physical addresses, the inability to apply application scenarios, and the low efficiency of memory read and write, so as to improve the efficiency of memory read and write. Effect

Pending Publication Date: 2019-07-05
SHANGHAI BAUD DATA COMM
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. When the user process reads and writes memory, system calls will occur frequently, and there is also a process of copying user state and kernel state data, resulting in low memory read and write efficiency
[0005] 2. The details of the kernel's management of physical memory are shielded from the user process. The user process does not know the physical address of the currently accessed memory, and the user process cannot specify to access a certain known physical address, so it cannot be applied to some Application scenarios, such as reserved memory

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Memory allocation management method for linux system
  • Memory allocation management method for linux system
  • Memory allocation management method for linux system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the technical means, creative features, goals and effects achieved by the present invention easy to understand, the present invention will be further described below in conjunction with specific illustrations.

[0022] The memory allocation management scheme given in this example forms several abstract partitions by abstracting the physical memory area, and after the abstraction, the user process can directly manage the physical memory partitions through the mmap mechanism, so as to provide more flexible and effective memory management style.

[0023] see figure 1 According to this principle, this example first abstracts the physical memory area and divides it into DMA partition, Normal partition, Reserve partition and Kernel partition.

[0024] Among them, the DMA partition and the Normal partition are mainly used to implement the system stack;

[0025] Kernel partitions are managed by the kernel;

[0026] The Reserve partition is shared by bootload...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a memory allocation management method for a linux system, which comprises the following steps of: abstracting a physical memory area to form a plurality of abstract partitions,and enabling a user process to directly manage the physical memory partitions through a mmap mechanism after abstracting. According to the scheme provided by the invention, a more flexible and effective memory management mode can be provided.

Description

technical field [0001] The invention relates to software system technology, in particular to memory allocation management technology in the software system. Background technique [0002] The existing memory allocation management method is relatively simple, all physical memory is managed by the kernel, and user processes need to apply to the kernel to use the memory. [0003] The segmented paging mechanism of the kernel is more effective in managing physical memory, but it has the following disadvantages: [0004] 1. When the user process reads and writes memory, system calls will occur frequently, and there is also a process of copying user mode and kernel mode data, resulting in low memory read and write efficiency. [0005] 2. The details of the kernel's management of physical memory are shielded from the user process. The user process does not know the physical address of the currently accessed memory, and the user process cannot specify to access a certain known physic...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5016
Inventor 汪革芶利平王仁雷熊本翔
Owner SHANGHAI BAUD DATA COMM