Method and system for persistent, recoverable user-level locks
Abstract
Methods, systems, and apparatus can provide a means for a user-level process to acquire locks on resources at the kernel level through the use of a session that persists after the termination of the user-level process. A session recovery mechanism can be provided so that a newly started process can query an existing kernel-level lock session to discover which locks were held by a previously terminated process. This is accomplished, in part, through associating the kernel session with a token, rather than by associating the locks with a user-level process ID. Such a mechanism provides the ability for the new process to perform appropriate lock cleanup or to continue the work of the previous process under protection of the surviving locks.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: requesting by a first user-level process, lock rights to a resource, wherein said requesting is performed using a token to identify a kernel-level session associated with a lock to the resource, the first user-level process executes on a processor, and the resource is coupled to the processor; if no kernel-level session exists that is associated with the token at the time of said requesting, a kernel-level session is initiated that is associated with the token and identified by the token, wherein the kernel-level session is allocated the lock to the re
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗