US 12,242,743 B2
Adaptive control for in-memory versioning
David Andrew Roberts, Wellesley, MA (US); and Haojie Ye, Ann Arbor, MI (US)
Assigned to Micron Technology, Inc., Boise, ID (US)
Filed by Micron Technology, Inc., Boise, ID (US)
Filed on Oct. 20, 2022, as Appl. No. 17/970,132.
Prior Publication US 2024/0134545 A1, Apr. 25, 2024
Prior Publication US 2024/0231655 A9, Jul. 11, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0632 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0622 (2013.01); G06F 3/0673 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method comprising:
receiving a memory access request for a memory location;
responsive to receiving the memory access request, selecting an in-memory versioning mode for the memory location using past access information for memory accesses of the memory location of the memory access request, the past access information stored in an access profile data structure and used as input to selection logic, the past access information storing access information for a previous checkpoint, the selection of the in-memory versioning mode selecting either a direct copy mode or a zero copy mode, wherein the direct copy mode copies a working value from a first memory location of a pair of memory locations to a second memory location of the pair of memory locations on receipt of and prior to servicing, a first write operation after a commit operation, the zero copy mode switches a value of a select field between the pair of memory locations upon receipt of, and prior to servicing a first write operation after either a commit or rollback operation, wherein the value of the select field indicates a working location of the pair of memory locations;
updating the access profile data structure based upon a memory access type corresponding to the memory access request; and
processing the memory access request according to the selected versioning mode.