Address conversion method and device for program shared memory
A technology of address conversion and program sharing, applied in the direction of memory address/allocation/relocation, etc., can solve problems such as unsatisfactory and complicated modification, and achieve the effect of ensuring efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0033] Specific embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0034] To make the time complexity of space conversion always O(1), the most direct way is to ensure that you apply for a piece of continuous physical memory. Continuous physical memory means continuous physical addresses. In fact, it is only necessary when DMA (DirectMemoryAccess memory direct access) is involved. The physical addresses are required to be continuous, and most of the time, as long as the virtual addresses are continuous. Then, the program shared memory only needs to make the virtual addresses of the process continuous. For continuous address spaces, because there is only one space difference, the time complexity of space conversion can always be O(1).
[0035] The address translation method for program shared memory provided by the present invention is used to map the physical memory space allocated for the program to the virt...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 