-
公开(公告)号:US11321117B2
公开(公告)日:2022-05-03
申请号:US16894626
申请日:2020-06-05
Applicant: Oracle International Corporation
Inventor: Virendra J. Marathe , Matej Pavlovic , Alex Kogan , Timorthy L. Harris
IPC: G06F12/00 , G06F9/46 , G06F9/38 , G06F9/30 , G06F12/0815 , G06F9/52 , G06F12/0804 , G06F11/14 , G06F12/02
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.
-
公开(公告)号:US20200301730A1
公开(公告)日:2020-09-24
申请号:US16894626
申请日:2020-06-05
Applicant: Oracle International Corporation
Inventor: Virendra J. Marathe , Matej Pavlovic , Alex Kogan , Timorthy L. Harris
IPC: G06F9/46 , G06F9/38 , G06F9/30 , G06F12/0815 , G06F9/52 , G06F12/0804 , G06F11/14 , G06F12/02
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.
-