CN114730288A - 一种内存的管理方法及电子设备 - Google Patents

一种内存的管理方法及电子设备 Download PDF

Info

Publication number
CN114730288A
CN114730288A CN202080079353.9A CN202080079353A CN114730288A CN 114730288 A CN114730288 A CN 114730288A CN 202080079353 A CN202080079353 A CN 202080079353A CN 114730288 A CN114730288 A CN 114730288A
Authority
CN
China
Prior art keywords
physical page
active
scanning
inactive
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202080079353.9A
Other languages
English (en)
Inventor
王涛
翟奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Publication of CN114730288A publication Critical patent/CN114730288A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5022Mechanisms to release resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0806Multiuser, multiprocessor or multiprocessing cache systems
    • G06F12/084Multiuser, multiprocessor or multiprocessing cache systems with a shared cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0253Garbage collection, i.e. reclamation of unreferenced memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7205Cleaning, compaction, garbage collection, erase control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

一种内存的管理方法及电子设备,涉及电子设备技术领域,有利于避免对频繁访问的物理页面进行多次不必要的回收检查,加速了操作系统对物理页面的回收效率,提升操作系统的性能,该方法具体包括:电子设备针对每一个内存区域使用多个不活跃链表和一个活跃链表实现回收物理页面的功能。或者,针对每一个内存区域使用一个不活跃链表和多个活跃链表实现回收物理页面的功能。又或者,针对每一个内存区域使用多个不活跃链表和多个活跃链表实现回收物理页面的功能。

Description

PCT国内申请,说明书已公开。

Claims (28)

  1. PCT国内申请,权利要求书已公开。
CN202080079353.9A 2019-11-15 2020-11-02 一种内存的管理方法及电子设备 Pending CN114730288A (zh)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN2019111189359 2019-11-15
CN201911118935.9A CN112817736B (zh) 2019-11-15 2019-11-15 一种内存的管理方法及电子设备
PCT/CN2020/125947 WO2021093626A1 (zh) 2019-11-15 2020-11-02 一种内存的管理方法及电子设备

Publications (1)

Publication Number Publication Date
CN114730288A true CN114730288A (zh) 2022-07-08

Family

ID=75851717

Family Applications (3)

Application Number Title Priority Date Filing Date
CN202211240345.5A Active CN115757193B (zh) 2019-11-15 2019-11-15 一种内存的管理方法及电子设备
CN201911118935.9A Active CN112817736B (zh) 2019-11-15 2019-11-15 一种内存的管理方法及电子设备
CN202080079353.9A Pending CN114730288A (zh) 2019-11-15 2020-11-02 一种内存的管理方法及电子设备

Family Applications Before (2)

Application Number Title Priority Date Filing Date
CN202211240345.5A Active CN115757193B (zh) 2019-11-15 2019-11-15 一种内存的管理方法及电子设备
CN201911118935.9A Active CN112817736B (zh) 2019-11-15 2019-11-15 一种内存的管理方法及电子设备

Country Status (5)

Country Link
US (1) US12079118B2 (zh)
EP (1) EP4030301B1 (zh)
CN (3) CN115757193B (zh)
DE (1) DE202020006014U1 (zh)
WO (1) WO2021093626A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412893A (zh) * 2022-10-19 2022-11-29 成都锐成芯微科技股份有限公司 低功耗蓝牙属性访问方法及低功耗蓝牙系统

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114116191B (zh) * 2021-06-24 2023-09-01 荣耀终端有限公司 内存冷页的处理方法及电子设备
CN115328856B (zh) * 2022-07-05 2023-05-09 荣耀终端有限公司 一种文件页管理的方法、装置及电子设备
CN116049024A (zh) * 2023-01-06 2023-05-02 广州匠芯创科技有限公司 内存页面回收优化方法及其系统、电子设备、存储介质

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804766B1 (en) * 1997-11-12 2004-10-12 Hewlett-Packard Development Company, L.P. Method for managing pages of a designated memory object according to selected memory management policies
US7409518B2 (en) * 2004-05-21 2008-08-05 International Business Machines Corporation Method for improving disk space allocation
KR101612922B1 (ko) * 2009-06-09 2016-04-15 삼성전자주식회사 메모리 시스템 및 메모리 시스템 관리 방법
US9026716B2 (en) 2010-05-12 2015-05-05 Western Digital Technologies, Inc. System and method for managing garbage collection in solid-state memory
JP2012093882A (ja) * 2010-10-26 2012-05-17 Toshiba Corp メモリ管理装置、マルチプロセッサシステム、及びメモリ管理方法
KR20120097862A (ko) * 2011-02-25 2012-09-05 삼성전자주식회사 데이터 저장 시스템 및 그의 데이터 맵핑 방법
EP2761471B1 (en) * 2011-09-30 2017-10-25 Intel Corporation Statistical wear leveling for non-volatile system memory
CN104008061B (zh) 2013-02-22 2018-01-23 华为技术有限公司 内存回收方法及装置
CN103150259B (zh) * 2013-03-22 2016-03-30 华为技术有限公司 一种内存回收方法和装置
GB201322290D0 (en) * 2013-12-17 2014-01-29 Ibm Method and device for managing a memory
US10108555B2 (en) * 2016-05-26 2018-10-23 Macronix International Co., Ltd. Memory system and memory management method thereof
CN107817945B (zh) * 2016-09-13 2021-07-27 中国科学院微电子研究所 一种混合内存结构的数据读取方法和系统
CN107885666B (zh) * 2016-09-28 2021-07-20 华为技术有限公司 一种内存管理方法和装置
CN106843756B (zh) * 2017-01-13 2019-12-31 中国科学院信息工程研究所 基于页面分类的内存页面回收方法及系统
CN106970882B (zh) * 2017-03-10 2020-04-14 浙江大学 一种基于Linux大页内存的易扩展页面架构
CN108205501B (zh) * 2017-06-26 2020-08-07 珠海市魅族科技有限公司 内存回收方法及装置、计算机装置及计算机可读存储介质
CN108228339B (zh) * 2017-07-28 2021-08-13 珠海市魅族科技有限公司 一种内存回收方法及装置、终端设备及计算机可读存储介质
CN108205475A (zh) * 2017-08-25 2018-06-26 珠海市魅族科技有限公司 内存管理方法、终端设备、计算机装置以及可读存储介质
WO2020037686A1 (zh) 2018-08-24 2020-02-27 袁振南 基于数据结构的垃圾回收方法、计算机及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115412893A (zh) * 2022-10-19 2022-11-29 成都锐成芯微科技股份有限公司 低功耗蓝牙属性访问方法及低功耗蓝牙系统

Also Published As

Publication number Publication date
WO2021093626A1 (zh) 2021-05-20
US20240111666A1 (en) 2024-04-04
CN115757193A (zh) 2023-03-07
CN112817736A (zh) 2021-05-18
CN112817736B (zh) 2022-10-21
EP4030301A4 (en) 2022-11-09
US12079118B2 (en) 2024-09-03
EP4030301B1 (en) 2024-01-17
CN115757193B (zh) 2023-11-03
DE202020006014U1 (de) 2024-03-19
EP4030301A1 (en) 2022-07-20

Similar Documents

Publication Publication Date Title
CN114443277A (zh) 内存管理方法、装置、电子设备以及计算机可读存储介质
CN112817736B (zh) 一种内存的管理方法及电子设备
CN112783564A (zh) 一种加速应用程序启动的方法及电子设备
CN112130742A (zh) 一种移动终端的全屏显示方法及设备
CN113704014A (zh) 日志获取系统、方法、电子设备及存储介质
CN113722058B (zh) 一种资源调用方法及电子设备
CN111543042A (zh) 通知消息的处理方法及电子设备
CN114461588B (zh) 调节预读窗口的方法及电子设备
CN114650363A (zh) 一种图像显示的方法及电子设备
CN113704205B (zh) 日志存储的方法、芯片、电子设备和可读存储介质
CN114116191A (zh) 内存冷页的处理方法及电子设备
CN112947947A (zh) 安装包的下载方法、分发方法、终端设备、服务器及系统
CN113254409A (zh) 文件共享方法、系统及相关设备
CN114461589B (zh) 读取压缩文件的方法、文件系统及电子设备
WO2022078105A1 (zh) 内存管理方法、电子设备以及计算机可读存储介质
CN114461375B (zh) 内存资源管理方法及电子设备
CN113641271A (zh) 应用窗口的管理方法、终端设备及计算机可读存储介质
CN113973398A (zh) 无线网络连接方法、电子设备及芯片系统
CN114915721A (zh) 建立连接的方法与电子设备
CN112783418B (zh) 一种存储应用程序数据的方法及移动终端
CN111249728B (zh) 一种图像处理方法、装置及存储介质
CN114079642A (zh) 一种邮件处理方法及电子设备
WO2023051094A1 (zh) 内存回收方法、装置、电子设备及可读存储介质
CN114489469B (zh) 一种数据读取方法、电子设备及存储介质
CN114691248B (zh) 显示虚拟现实界面的方法、装置、设备和可读存储介质

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40068957

Country of ref document: HK