US 12,189,960 B2
Limiting hot-cold swap wear leveling
Fangfang Zhu, San Jose, CA (US); Ying Yu Tai, Mountain View, CA (US); Ning Chen, San Jose, CA (US); Jiangli Zhu, San Jose, CA (US); and Alex Tang, Cupertino, CA (US)
Assigned to Micron Technology, Inc., Boise, ID (US)
Filed by Micron Technology, Inc., Boise, ID (US)
Filed on Sep. 27, 2022, as Appl. No. 17/954,023.
Application 17/954,023 is a continuation of application No. 16/874,389, filed on May 14, 2020, granted, now 11,481,119.
Claims priority of provisional application 62/874,357, filed on Jul. 15, 2019.
Prior Publication US 2023/0019910 A1, Jan. 19, 2023
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 12/00 (2006.01); G06F 3/06 (2006.01); G06F 13/00 (2006.01)
CPC G06F 3/0616 (2013.01) [G06F 3/0647 (2013.01); G06F 3/0673 (2013.01)] 22 Claims
OG exemplary drawing
 
1. A memory system comprising:
a memory device; and
a memory sub-system controller, operatively coupled with the memory device, and configured to perform operations comprising:
determining to perform a hot-cold swap based on a minimum write count value of first write count values for a first set of mapped management groups exceeds, by more than a predetermined offset, a minimum write count value of second write count values for a second set of unmapped management groups;
in response to the determining to perform the hot-cold swap, selecting a first management group of the first set and a second management group of the second set for a swap operation; and
performing the swap operation by:
transferring data from the first management group to the second management group; and
modifying a mapping data structure to map the second management group and unmap the first management group, wherein the mapping data structure comprises, for each management group of the first set and each management group of the second set, a fresh write count that indicates a number of writes since a hot-cold swap was performed.