Patent ID: 9274972
Filing Date: 2016-03-01
CPC Classification: G06F

Claim Text:
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.