×

Method and system for sharing driver pages

  • US 10,216,529 B1
  • Filed: 11/19/2015
  • Issued: 02/26/2019
  • Est. Priority Date: 11/19/2015
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for sharing driver pages among Containers, the method comprising:

  • on a computer system having a processor, a single operating system (OS) and a first instance of a dedicated system driver installed and performing dedicated system services, instantiating a plurality of Containers that virtualize the OS, wherein code and data of the first instance of the dedicated system driver are loaded from an image into a plurality of pages arranged in a virtual memory, andinstantiating a second instance of the dedicated system driver upon a first request from one of the Containers for dedicated system services by;

    (a) loading, from the image, pages of the second instance into a physical memory and allocating virtual memory pages for the second instance;

    (b) associating the second instance with the first instance and acquiring virtual addresses of identical pages of the first instance compared to the second instance;

    (c) mapping the virtual addresses of the identical pages of the second instance to physical pages to which virtual addresses of the corresponding identical pages of the first instance are mapped, while protecting the physical pages from modification;

    (d) wherein virtual addresses of non-identical pages of the second instance remain mapped to the physical pages of the second instance;

    (e) releasing the physical memory occupied by the identical physical pages of the second instance; and

    (f) starting the second instance for responding to requests for the dedicated system services from the one of the Containers.

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