Invention Grant
- Patent Title: Persistent multi-word compare-and-swap
-
Application No.: US17715812Application Date: 2022-04-07
-
Publication No.: US11941429B2Publication Date: 2024-03-26
- Inventor: Virendra J. Marathe , Matej Pavlovic , Alex Kogan , Timothy L. Harris
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Kowert, Hood, Munyon, Rankin & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F9/30 ; G06F9/38 ; G06F9/46 ; G06F9/52 ; G06F11/14 ; G06F12/02 ; G06F12/0804 ; G06F12/0815

Abstract:
A computer system including one or more processors and persistent, word-addressable memory implements a persistent atomic multi-word compare-and-swap operation. On entry, a list of persistent memory locations of words to be updated, respective expected current values contained the persistent memory locations and respective new values to write to the persistent memory locations are provided. The operation atomically performs the process of comparing the existing contents of the persistent memory locations to the respective current values and, should they match, updating the persistent memory locations with the new values and returning a successful status. Should any of the contents of the persistent memory locations not match a respective current value, the operation returns a failed status. The operation is performed such that the system can recover from any failure or interruption by restoring the list of persistent memory locations.
Public/Granted literature
- US20220229691A1 Persistent Multi-Word Compare-and-Swap Public/Granted day:2022-07-21
Information query