Handling cross-platform system call with a shared page cache in a hybrid computing system

US9274972B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9274972-B2
Application numberUS-201514731799-A
CountryUS
Kind codeB2
Filing dateJun 5, 2015
Priority dateDec 23, 2008
Publication dateMar 1, 2016
Grant dateMar 1, 2016

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

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.

First claim

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

Assignees

Inventors

Classifications

  • G06F9/541Primary

    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

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9274972B2 cover?
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 …
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/541. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 01 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).