Buffer mapping scheme involving pre-allocation of memory
AssigneeSamsung Electronics Co., Ltd.
InventorsManoj K Guthula, Venkata Bhanu Prakash Gollapudi
Life of this patent
Estimating the term…
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.
Claims10
A computer-implemented method by which an operating system communicates with a first application and a second application, the method comprising:
- receiving a first physical address from the first application, wherein the first application has a first page table, and the first physical address is determined by mapping virtual pages of the first application into physical pages of a memory using the first page table, and using a first physical page frame number and a first offset to determine the first physical address corresponding to the first application;
- the second application communicating with the first application using an application offset, wherein the application offset is applied to the first physical address to determine a second physical address corresponding to the second application;
- and
- determining an operating system-level (OS-level) virtual address based on the first physical address to achieve data transfer, wherein the operating system-level (OS-level) virtual address is determined by a kernel translation table based on the first physical address only, and wherein the operating system communicates with the first application and the second application through the first physical address only.
A computer-implemented method by which a first application, a second application, an operating system, and hardware in a single node communicate with one another by using a buffer, the method comprising:
- the first application converting a first application-level virtual address to a first physical address corresponding to the first application and communicating the first physical address to the operating system;
- the first application and the second application communicating with each other using an application offset, wherein the application offset is applied to the first physical address to determine the second physical address corresponding to the second application;
- and
- the operating system using the first physical address to determine operating system-level (OS-level) virtual address, wherein the operating system-level (OS-level) virtual address is determined by a kernel translation table based on the first physical address only, and wherein the operating system communicates with the first application and the second application through the first physical address only.
An apparatus for controlling data transfer, the apparatus comprising a memory mapper that allows a first application to convert a first application-level virtual address to a first physical address corresponding to the first application and communicate the first physical address to an operating system, and allows a second application to communicate with the first application using an application offset, wherein the application offset is applied to the first physical address to determine a second physical address corresponding to the second application, wherein a kernel translation table is used to determine an operating system-level (OS-level) virtual address based on the first physical address only, and wherein the operating system communicates with the first application and the second application through the first physical address only.
Dependencies are inferred from the claim text.