Invention Application
- Patent Title: MANAGING LOCK AND UNLOCK OPERATIONS USING ACTIVE SPINNING
-
Application No.: US15609211Application Date: 2017-05-31
-
Publication No.: US20180293113A1Publication Date: 2018-10-11
- Inventor: Shubhendu Sekhar Mukherjee , Isam Wadih Akkawi , David Asher , Michael Bertone , David Albert Carlson , Bradley Dobbie , Richard Eugene Kessler
- Applicant: Cavium, Inc.
- Main IPC: G06F9/52
- IPC: G06F9/52 ; G06F9/30

Abstract:
Managing instructions on a processor includes: executing threads having access to a stored library of operations. For a first thread executing on the first processor core, for each instruction included in the first thread and identified as being associated with a lock operation corresponding to a particular lock, the managing includes determining if the particular lock has already been acquired for another thread executing on a processor core other than the first processor core, and if so, continuing to perform the lock operation for multiple attempts using a hardware lock operation different from the lock operation in the stored library, and if not, acquiring the particular lock for the first thread. The hardware lock operation performs a modified atomic operation that changes a result of the hardware lock operation for failed attempts to acquire the particular lock relative to a result of the lock operation in the stored library.
Public/Granted literature
- US10248420B2 Managing lock and unlock operations using active spinning Public/Granted day:2019-04-02
Information query