US 12,455,688 B2
Memory management technology and computer system
Shihai Xiao, Hangzhou (CN); and Chuanzeng Liang, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
Filed on Jan. 13, 2023, as Appl. No. 18/154,532.
Application 18/154,532 is a continuation of application No. PCT/CN2021/093982, filed on May 15, 2021.
Claims priority of application No. 202010693280.4 (CN), filed on Jul. 17, 2020; and application No. 202011176594.3 (CN), filed on Oct. 28, 2020.
Prior Publication US 2023/0152977 A1, May 18, 2023
Int. Cl. G06F 3/00 (2006.01); G06F 3/06 (2006.01); G06F 12/02 (2006.01)
CPC G06F 3/0611 (2013.01) [G06F 3/0653 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01); G06F 12/0215 (2013.01); G06F 2212/1024 (2013.01)] 20 Claims
OG exemplary drawing
 
1. A method, comprising:
obtaining a memory access corresponding to a target memory bank, wherein the target memory bank is one of a plurality of memory banks in a memory, wherein the plurality of memory banks corresponds to a plurality of different row management policies, wherein the memory access comprises a first access type and belongs to a first batch of memory accesses, and wherein the first access type comprises a read access or a write access;
executing, according to the first access type and according to one of the plurality of different row management policies corresponding to the target memory bank, the one of the plurality of different row management policies;
identifying that the first batch is completely performed and that a second batch of memory accesses is to be performed;
closing a target row when a second access type of the first batch is different from a third access type of the second batch;
keeping the target row in an open state when both the first batch and the second batch are read accesses; and
closing the target row when both the first batch and the second batch are write accesses.