Delayed unloading of a dynamically loadable file
First Claim
1. A computing device comprising:
- (a) a processor;
(b) a memory coupled to the processor;
(c) a dynamically loadable file stored in the memory and configured to be dynamically loaded for execution in response to a calling process, the file including instructions for spawning a delay process; and
, (d) the delay process stored in the memory, the delay process having instructions for dynamically loading the file prior to the calling process initiating an unload of the file such that the file Is retained as loaded even after the calling process initiates an unload of the file, and wherein the delay process further includes instructions configured to dynamically unload the file after an expired amount of time.
0 Assignments
0 Petitions
Accused Products
Abstract
A dynamically loadable file, such as a dynamically loadable device driver or library, is delayed from being unloaded from memory for improved memory management and processing operations including reduced unload/load cycles. Prior to terminating execution of select functions, a dynamically loadable driver spawns a delay process that loads the driver and keeps it loaded for a period of time beyond that which it would normally be loaded. Thus, even after a calling process unloads the driver, it remains loaded for a period of time longer because of the spawned delay process and allows the operating system or an application/process to use the driver again within the delay time without requiring the driver to be re-copied into memory or re-initialized. The delay process safely increments the operating system reference count for the driver to keep the driver loaded and then monitors a delay time to subsequently unload the driver.
29 Citations
5 Claims
-
1. A computing device comprising:
-
(a) a processor;
(b) a memory coupled to the processor;
(c) a dynamically loadable file stored in the memory and configured to be dynamically loaded for execution in response to a calling process, the file including instructions for spawning a delay process; and
,(d) the delay process stored in the memory, the delay process having instructions for dynamically loading the file prior to the calling process initiating an unload of the file such that the file Is retained as loaded even after the calling process initiates an unload of the file, and wherein the delay process further includes instructions configured to dynamically unload the file after an expired amount of time. - View Dependent Claims (2, 3)
-
-
4. A computing system, comprising:
-
(a) a peripheral device;
(b) a host computer coupled to the peripheral device; and
,(c) a dynamically loadable driver stored in a memory on the host computer for interfacing the peripheral device with the host computer upon loading of the driver by a calling process, the driver including instructions for spawning a delay program in the memory; and
,(d) the delay program including Instructions for dynamically loading the driver upon the delay program being spawned and prior to the calling process unloading the driver such that the driver remains loaded even after the calling process initiates an unload of the driver. - View Dependent Claims (5)
-
Specification