×

Managing loading and unloading of shared kernel extensions in isolated virtual space

  • US 8,397,245 B2
  • Filed: 07/12/2010
  • Issued: 03/12/2013
  • Est. Priority Date: 07/12/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • receiving a request from a first of a plurality of instances of an operating system to load a kernel extension that extends functionality of a kernel, wherein the kernel and the plurality of instances of the operating system are managed by a second of the plurality of the instances of the operating system, and wherein the plurality of the instances of the operating system share the kernel;

    after receiving the request from the first of the plurality of instances of the operating system to load the kernel extension, writing a first instance of an identifier for the kernel extension in a list;

    determining that the kernel extension can be shared globally by the plurality of the instances of the operating system;

    loading the kernel extension to be shared by the plurality of the instances of the operating system;

    receiving a request by a third of the plurality of the instances of the operating system to load the kernel extension;

    writing a second instance of the identifier for the kernel extension in the list;

    receiving a request by the first of the plurality of the instances of the operating system to unload the kernel extension;

    after receiving the request by the first of the plurality of the instances of the operating system to unload the kernel extension, removing the first instance of the identifier from the list;

    determining that the third of the plurality of the instances of the operating system requires the kernel extension to remain loaded, the determining including determining that the second instance of the identifier remains in the list, wherein said determining that the second instance of the identifier remains in the list indicates that the third of the plurality of the instances of the operating system requires the kernel extension to remain loaded; and

    notifying the first of the plurality of the instances of the operating system that the kernel extension was unloaded while leaving the kernel extension loaded in the kernel.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×