Buffer mapping scheme involving pre-allocation of memory
A memory and operating system technology, applied in the field of buffer mapping schemes, can solve problems such as OS/kernel heavy burden
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0015] This system saves the OS by having to set up kernel-level page table-based translations every time a memory buffer is passed. In this disclosure, applications pass physical addresses to the kernel. According to one embodiment, the kernel has the mapping needed for this buffer. Therefore, the kernel can calculate the virtual address without performing a mapping operation every time. Because all kernel modules share the same virtual address space, any OS module (not just the OS module to which memory is allocated) can use physical addresses to obtain virtual addresses and operate on buffers.
[0016] Between different applications, use buffer offsets to communicate. Applications operate on buffers using virtual addresses. An application can calculate its own virtual address by simply adding the offset to the virtual address of the start of the buffer.
[0017] An application can determine the offset's DMA address by simply adding the offset to the DMA address at the b...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


