Invention Grant
- Patent Title: Methods and systems for recursively acquiring and releasing a spinlock
-
Application No.: US15090846Application Date: 2016-04-05
-
Publication No.: US10310914B2Publication Date: 2019-06-04
- Inventor: Arvind Kishore Srivastava , Randy Hilderman
- Applicant: Ciena Corporation
- Applicant Address: US MD Hanover
- Assignee: Ciena Corporation
- Current Assignee: Ciena Corporation
- Current Assignee Address: US MD Hanover
- Agency: Clements Bernard Walker PLLC
- Agent Christopher L. Bernard; Lawrence A. Baratta, Jr.
- Priority: IN201611006024 20160222
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/52

Abstract:
A computer-implemented method for a recursive spinlock includes storing a recursion level for the recursive spinlock in memory; responsive to a request to acquire the recursive spinlock by a process, performing one of (i) acquiring the recursive spinlock if not presently held by the process and incrementing the recursion level and (ii) incrementing the recursion level if the recursive spinlock is presently held by the process; and responsive to a request to release the recursive spinlock by the process, decrementing the recursion level and releasing the recursive spinlock if the recursion level is zero. The recursive spinlock can be implemented in a software wrapper used with existing software which supports recursive locks and the recursive spinlock is used in place of the recursive locks in the existing software. The computer-implemented method can be performed on a Symmetric Multiprocessor (SMP) hardware system.
Public/Granted literature
- US20170242736A1 METHODS AND SYSTEMS FOR RECURSIVELY ACQUIRING AND RELEASING A SPINLOCK Public/Granted day:2017-08-24
Information query