×

System and method for coordinating process and memory management across domains

  • US 10,394,602 B2
  • Filed: 05/29/2014
  • Issued: 08/27/2019
  • Est. Priority Date: 05/29/2014
  • Status: Active Grant
First Claim
Patent Images

1. A method at a computing device having a plurality of concurrently operative operating systems including an originating operating system, comprising at least one originating process, and a target operating system, comprising one or more resources, the method comprising:

  • operating a proxy process within the target operating system on the computing device, the proxy process being marked to avoid being shut down even if the target operating system is running low on memory;

    receiving, by the proxy process, from the originating operating system, a first request for the at least one originating process to interact with a resource of the one or more resources from the target operating system, the first request including at least one process identifier identifying the at least one originating process, and a resource identifier that identifies the requested resource;

    sending a second request, from the proxy process to the target operating system, for the resource;

    determining, by the target operating system, that no process currently running within the target operating system provides access to the resource;

    responsive to the determining, starting, by the target operating system, a target process;

    providing access to the resource to the target process;

    returning a handle to the target process from the proxy process to the originating operating system, the handle enabling the at least one originating process to interact directly with the target process within the target operating system to thereby interact with the resource, wherein the proxy process maintains an association between process identifiers of one or more processes external to the target operating system, including the at least one originating process, and resource identifiers of the one or more resources with which the external processes interact;

    receiving, at the proxy process, from the at least one originating process in the originating operating system, an indication that the at least one originating process no longer interacts with the requested resource, the indication comprising the resource identifier;

    receiving, at the target operating system, from the proxy process, an indication that the requested resource is no longer needed by the proxy process upon determining, based on the association maintained by the proxy process, that no process external to the target operating system interacts with the requested resource identified by the resource identifier; and

    ending, by the target operating system, the target process.

View all claims
  • 6 Assignments
Timeline View
Assignment View
    ×
    ×