Method to share a coherent accelerator context inside the kernel
US-2017109290-A1 · Apr 20, 2017 · US
US9971701B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9971701-B2 |
| Application number | US-201514885741-A |
| Country | US |
| Kind code | B2 |
| Filing date | Oct 16, 2015 |
| Priority date | Oct 16, 2015 |
| Publication date | May 15, 2018 |
| Grant date | May 15, 2018 |
A practical reading order for non-experts. Skip the full description unless you need deep technical detail.
What the patent document calls the invention.
A short plain-language summary of the technical disclosure.
Who owns or filed the patent and who is credited as inventor.
Filing, priority, publication, and grant dates set the timeline.
The legal scope of protection — read this for what is actually claimed.
Technology tags used to group this patent with similar filings.
Prior art links and similar publications in this corpus.
Official abstract text for this publication.
Embodiments disclose techniques for sharing a context for a coherent accelerator in a kernel of a computer system. According to one embodiment, a request is received from a first application to perform an I/O operation within a kernel context. The request specifies a first effective address distinct to the first application. The first effective address specifies a location in a first effective address space and a first effective segment identifier. The first effective address is remapped to a second effective address. The second effective address specifies a location in a second effective address space of the kernel context and a second effective segment identifier. A virtual address mapping to a virtual address space within the kernel context is determined. The virtual address is translated to a physical memory address.
Opening claim text (preview).
What is claimed is: 1. A computer program product comprising: a non-transitory computer-readable storage medium having computer-readable program code embodied therewith, the computer-readable program code executable by one or more computer processors to perform an operation comprising: receiving a request from a first application to a coherent accelerator to perform an I/O operation within a kernel context, wherein the coherent accelerator shares virtual memory with the one or more computer processors, wherein the request specifies a first effective address of a local effective address space distinct to the first application, and wherein the first effective address specifies a location in the local effective address space of the kernel context and a first effective segment identifier, remapping the first effective address to a second effective address in a global effective address space shared by the first application and at least a second application, wherein the second effective address specifies a location in the global effective address space of the kernel context and a second effective segment identifier, determining, by a lookup using the second effective segment identifier on a page table and a shared segment table, a virtual address that maps to a virtual address space within the kernel context, and translating the virtual address to a physical memory address. 2. The computer program product of claim 1 , wherein the kernel context and segment table are shared with the first application and the second application. 3. The computer program product of claim 1 , wherein the first and second addresses further specify a page number and a byte offset. 4. The computer program product of claim 3 , wherein determining the virtual address comprises: determining, via the shared segment table based on the second effective segment identifier, a virtual segment identifier; and performing a lookup operation in the page table using the virtual segment identifier, page number, and the byte offset. 5. The computer program product of claim 1 , wherein the operation further comprises: inserting the I/O operation into a command queue. 6. The computer program product of claim 5 , wherein the first application blocks other I/O operations until the I/O operation is completed. 7. The computer program product of claim 1 , wherein the I/O operation is performed via the coherent accelerator. 8. A system, comprising: a processor; a coherent accelerator; and a memory storing program code, which, when executed on the processor, performs an operation comprising: receiving a request from a first application to the coherent accelerator to perform an I/O operation within a kernel context, wherein the coherent accelerator shares virtual memory with the processor, wherein the request specifies a first effective address of a local effective address space distinct to the first application, and wherein the first effective address specifies a location in the local effective address space of the kernel context and a first effective segment identifier, remapping the first effective address to a second effective address in a global effective address space shared by the first application and at least a second application, wherein the second effective address specifies a location in the global effective address space of the kernel context and a second effective segment identifier, determining, by a lookup using the second effective segment identifier on a page table and shared segment table, a virtual address that maps to a virtual address space within the kernel context, and translating the virtual address to a physical memory address. 9. The system of claim 8 , wherein the kernel context and segment table are shared with the first application and the second application. 10. The system of claim 8 , wherein the first and second addresses further specify a page number and a byte offset. 11. The system of claim 10 , wherein determining the virtual address comprises: determining, via the shared segment table based on the second effective segment identifier, a virtual segment identifier; and performing a lookup operation in the page table using the virtual segment identifier, page number, and the byte offset. 12. The system of claim 8 , wherein the operation further comprises: inserting the I/O operation into a command queue, wherein the first application blocks other I/O operations until the I/O operation is completed. 13. The system of claim 8 , wherein the I/O operation is performed via the coherent accelerator.
Single storage device · CPC title
using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB] · CPC title
Command handling arrangements, e.g. command buffers, queues, command scheduling · CPC title
using page tables, e.g. page table structures · CPC title
in relation to response time · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.