US Patent No. 10,558,497

PREVENTION AND RESOLUTION OF A CRITICAL SHORTAGE OF A SHARED RESOURCE IN A MULTI-IMAGE OPERATING SYSTEM ENVIRONMENT


Patent No. 10,558,497
Issue Date February 11, 2020
Title Prevention And Resolution Of A Critical Shortage Of A Shared Resource In A Multi-image Operating System Environment
Inventorship Lorne Parks, Ontario (CA)
Alexei Pytel, Rochester, MN (US)
Steven Simonson, Rochester, MN (US)
Bruce Talbott, Rochester, MN (US)
Thomas Wasik, Rochester, MN (US)
Assignee INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)

Claim of US Patent No. 10,558,497

1. A computer program product for resource allocation of a managed resource, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions readable by a computer to cause the computer to perform a method comprising:setting, by the computer, a reserved amount of the managed resource to be available for a privileged status, such that there is an unreserved amount of the managed resource to be available for a non-privileged status;
in response to a non-privileged job needing more of the unreserved amount of the managed resource than what is available, determining whether the non-privileged job is promotable to the privileged status;
in response to the non-privileged job not being promotable to the privileged status, preventing the non-privileged job from accessing the reserved amount of the managed resource; and
in response to the non-privileged job being promotable to the privileged status, permitting the non-privileged job to utilize the reserved amount of the managed resource, wherein determining whether the non-privileged job is promotable to the privileged status comprises:
determining whether the non-privileged job is stalled because more of the unreserved amount of the managed resource is not available;
determining whether the non-privileged job is in a stage of exiting use of the unreserved amount of the managed resource; and
determining whether the non-privileged job is promotable to the privileged status because the non-privileged job is in the stage of exiting, thereby promoting the non-privileged job to the privileged status such that the reserved amount of the managed resource is useable by the non-privileged job.