US 11,704,246 B2
Memory system for maintaining data consistency and operation method thereof
Bo-Rong Lin, Taichung (TW); Ming-Liang Wei, Kaohsiung (TW); Hsiang-Pang Li, Zhubei (TW); Nai-Jia Dong, Taipei (TW); Hsiang-Yun Cheng, Taoyuan (TW); and Chia-Lin Yang, Taipei (TW)
Assigned to MACRONIX INTERNATIONAL CO., LTD., Hsinchu (TW)
Filed by MACRONIX INTERNATIONAL CO., LTD., Hsinchu (TW)
Filed on Dec. 1, 2021, as Appl. No. 17/539,257.
Claims priority of provisional application 63/226,764, filed on Jul. 29, 2021.
Prior Publication US 2023/0033998 A1, Feb. 2, 2023
Int. Cl. G06F 12/0804 (2016.01)
CPC G06F 12/0804 (2013.01) [G06F 2212/601 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An operation method for a memory system, the operation method comprising:
receiving a first data in a first cache of a first memory from a processor;
reading the first data from the first cache of the first memory and writing the first data as a redo log into a log buffer of the first memory, wherein the first data and the redo log are the same;
writing the redo log from the log buffer into a memory controller of the processor;
performing an in-memory copy in a second memory to copy a second data as an undo log, wherein the second data is an old version of the first data; and
writing the redo log from the memory controller into the second memory for covering the second data by the redo log as a third data, wherein the redo log, the third data and the first data are the same, and the memory controller and the second memory have persistence.