Handling cross-platform system call with shared page cache in hybrid system
US-9122649-B2 · Sep 1, 2015 · US
US9274972B2 · US · B2
| Field | Value |
|---|---|
| Publication number | US-9274972-B2 |
| Application number | US-201514731799-A |
| Country | US |
| Kind code | B2 |
| Filing date | Jun 5, 2015 |
| Priority date | Dec 23, 2008 |
| Publication date | Mar 1, 2016 |
| Grant date | Mar 1, 2016 |
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.
A method and computing system for handling a page fault while executing a cross-platform system call with a shared page cache. A second kernel running in a second computer system sends a system call to a first kernel running in a first computer system. The second kernel receives, from the first kernel, a memory page that is a faulted memory page in the second computer system. The second kernel updates a second validity flag denoting that the memory page is currently available to the second computer system in a second copy of the shared page cache. A first validity flag in the first computer system denotes that the memory page is currently unavailable to the first computer system in a first copy of the shared page cache. The second kernel executes the system call to obtain a result and sends the result to the first kernel.
Opening claim text (preview).
What is claimed is: 1. A method for handling a page fault while executing a cross-platform system call with a shared page cache in a computing system that comprises at least one processor, said method comprising: said at least one processor receiving, by a second kernel running in a second computer system of the computing system from a first kernel running in a first computer system of the computing system, a system call comprising a parameter referring to a memory page of raw data, said memory page denoted by a first validity flag to be currently available to the first computer system in a first copy of the shared page cache in the first computer system and denoted by a second validity flag to be currently unavailable to the second computer system in a second copy of the shared page cache in the second computer system, said system call being sent from the first kernel to the second kernel with the parameter and without the memory page, wherein a result from execution of the system call depends on the raw data in the memory page; after said receiving the system call from the first kernel, said at least one processor determining, by the second kernel, that the memory page is a faulted memory page in the second computer system and in response, sending by the second kernel to the first kernel a request for the memory page; and after said sending the request for the memory page to the first kernel, said at least one processor: (i) receiving, by the second kernel from the first kernel, the memory page from the first copy of the shared page cache in the first computer system; (ii) inserting, by the second kernel, the transferred memory page into the second copy of the shared page cache in the second computer system; (iii) updating, by the second kernel, the second validity flag to denote that the memory page is currently available to the second computer system in the second copy of the shared page cache, wherein the first kernel is configured to update the first validity flag to denote that the memory page is currently unavailable to the first computer system in the first copy of the shared page cache; (iv) executing, by the second kernel, the system call to obtain the result; and (v) sending, by the second kernel to the first kernel, the result obtained from execution of the system call by the second kernel. 2. The method of claim 1 , wherein said executing the system call comprises accessing the raw data in the memory page in the second copy of the shared page cache in the second computer system. 3. The method of claim 1 , wherein the memory page cannot be concurrently available to the first computer system and the second computer system in the first copy and the second copy, respectively, of the shared page cache. 4. The method of claim 1 , wherein the first computer system is configured to execute user application programs for both first computer system and the second computer system within the computing system, wherein the second computer system is configured to provide kernel services for both first computer system and the second computer system within the computing system. 5. The method of claim 1 , wherein the first kernel has a first page fault handler for handling the memory page as a faulted page, and wherein the second kernel has a second page fault handler, for handling the memory page as a faulted page. 6. The method of claim 1 , wherein the system call is from a user application and requests the result. 7. A computer program product, comprising a computer readable storage device having a computer readable program code embodied therein, said computer readable program code containing instructions that, upon being executed by at least one processor of a computing system, implement a method for handling a page fault while executing a cross-platform system call with a shared page cache in the computing system, said method comprising: said at least one processor receiving, by a second kernel running in a second computer system of the computing system from a first kernel running in a first computer system of the computing system, a system call comprising a parameter referring to a memory page of raw data, said memory page denoted by a first validity flag to be currently available to the first computer system in a first copy of the shared page cache in the first computer system and denoted by a second validity flag to be currently unavailable to the second computer system in a second copy of the shared page cache in the second computer system, said system call being sent from the first kernel to the second kernel with the parameter and without the memory page, wherein a result from execution of the system call depends on the raw data in the memory page; after said receiving the system call from the first kernel, said at least one processor determining, by the second kernel, that the memory page is a faulted memory page in the second computer system and in response, sending by the second kernel to the first kernel a request for the memory page; and after said sending the request for the memory page to the first kernel, said at least one processor: (i) receiving, by the second kernel from the first kernel, the memory page from the first copy of the shared page cache in the first computer system; (ii) inserting, by the second kernel, the transferred memory page into the second copy of the shared page cache in the second computer system; (iii) updating, by the second kernel, the second validity flag to denote that the memory page is currently available to the second computer system in the second copy of the shared page cache, wherein the first kernel is configured to update the first validity flag to denote that the memory page is currently unavailable to the first computer system in the first copy of the shared page cache; (iv) executing, by the second kernel, the system call to obtain the result; and (v) sending, by the second kernel to the first kernel, the result obtained from execution of the system call by the second kernel. 8. The computer program product of claim 7 , wherein said executing the system call comprises accessing the raw data in the memory page in the second copy of the shared page cache in the second computer system. 9. The computer program product of claim 7 , wherein the memory page cannot be concurrently available to the first computer system and the second computer system in the first copy and the second copy, respectively, of the shared page cache. 10. The computer program product of claim 7 , wherein the first computer system is configured to execute user application programs for both first computer system and the second computer system within the computing system, wherein the second computer system is configured to provide kernel services for both first computer system and the second computer system within the computing system. 11. The computer program product of claim 7 , wherein the first kernel has a first page fault handler for handling the memory page as a faulted page, and wherein the second kernel has a second page fault handler, for handling the memory page as a faulted page. 12. The computer program product of claim 7 , wherein the system call is from a user application and requests the result. 13. A computing system comprising at least one processor, a memory coupled to the processor, and a computer readable storage device coupled to the processor, said storage device containing program code configured to be executed by the processor via the memory to implement a method for handling a page fault while executing a cross-platform system call with a shared page cache in a the computing system, said method comprising: said at least one processo
via adapters, e.g. between incompatible applications · CPC title
Remote procedure calls [RPC]; Web services · CPC title
Distributed shared memory [DSM], e.g. remote direct memory access [RDMA] · CPC title
TLB miss handling · CPC title
where tasks reside in different layers, e.g. user- and kernel-space · CPC title
Related publications grouped by family.
Answers are generated from the same data shown on this page.