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

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

Pending Publication Date: 2017-10-31
SAMSUNG ELECTRONICS CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The above mapping scheme brings a heavy burden to the OS / kernel, wherein the OS / kernel needs to first convert the application layer virtual address to the OS layer virtual address by setting the page table entry

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
  • Buffer mapping scheme involving pre-allocation of memory
  • Buffer mapping scheme involving pre-allocation of memory
  • Buffer mapping scheme involving pre-allocation of memory

Examples

Experimental program
Comparison scheme
Effect test

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...

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 inventive concept pertains to a computer-implemented method by which an application, an operating system, and hardware communicate with one another. The method entails the application converting an application-level virtual address to a physical address and communicating the physical address to the operating system. The operating system then uses the physical address to determine OS-level virtual address and complete the data transfer.

Description

[0001] This application claims the benefit of US Provisional Application No. 62 / 326,537, filed April 22, 2016, and US Patent Application No. 15 / 333,010, filed October 24, 2016, which are hereby incorporated by reference. technical field [0002] The present disclosure relates generally to memory buffers, and more particularly to a buffer mapping scheme involving pre-allocation of memory. Background technique [0003] In a UNIX-based storage / server system, there are various applications and device drivers, each of which performs a specific task. In order for applications, operating system (OS) / kernel, and hardware to communicate efficiently, they often distribute memory buffers. Typically, during these communications, the application communicates its application layer virtual address to the operating system / kernel. The memory buffer calls the driver with the application layer virtual address, and the driver maps the application layer virtual address to the operating system / k...

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
IPC IPC(8): G06F9/54G06F13/28
CPCG06F9/544G06F13/28G06F12/1081G06F13/1673G06F2212/1044G06F2212/656G06F12/0246G06F12/023
Inventor 马诺吉·K·哥达拉文卡塔·布哈努·普拉卡斯·格拉普提
Owner SAMSUNG ELECTRONICS CO LTD