Management of locks in a virtual machine environment
Abstract
A technique to collectively manage locks by multiple virtual machines and then access shared data protected by the locks. A computer system defines first and second virtual machines and a memory shared by the first and second virtual machines. A lock structure is defined in the shared memory. The lock structure is capable of listing a holder of a lock for shared data in the shared memory. The first virtual machine acquires a lock for the shared data when available by manipulation of the lock structure. After acquiring the lock, the first virtual machine accesses the shared data. The lock structure and the shared data are directly accessible by the first virtual machine. The second virtual machine acquires a lock for the shared data when available by manipulation of the lock structure. After acquiring the lock, the second virtual machine accesses the shared data. The lock structure and shared data are directly accessible by the second virtual machine. In an alternate embodiment of the present invention, the shared data resides in one of the virtual machines while the lock structure remains in shared memory.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 38 · Forward citations: 28.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system for managing a lock, said computer system having a central processor unit and a memory both shared by first and second virtual machines, said computer system comprising: a first program function, executing within said first virtual machine, to acquire an available lock for shared data in said shared memory for said first virtual machine or a second program function executing within said first virtual machine by updating a lock structure in said shared memory, said lock structure listing said first virtual machine or said second program function as a holder of said lock and al
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 28 total)
References Cited — Backward Prior Art (38)
Non-Patent Literature (3)
- IBM TDB vol. 37 No. 06A Jun. 1994 "Shared Memory Cluster-A Scalable Multiprocessor Design" pp. 503-507 IBM TDB vol. 35 No. 18 Jun. 1992 "Logically Shared Memory" pp. 44-49.
- U.S. Appl. No. 10/280,987 entitled "System and Method for Transferring Data Between Virtual Machines or Other Computer Entities" filed on Oct. 24, 2002 by Shultz and Tkatschow USPatent Application END9-2003-0003 entitled "Management of Dispatch Functions in a Virtual Machine Environment". by .M. Don
- US Patent Application END9-2003-0011 entitled "Management of Virtual Machines to Utilize Shared Resources" by: C. Casey, S. Shultz & X. Tkatschow.