CN114730288A - 一种内存的管理方法及电子设备 - Google Patents
一种内存的管理方法及电子设备 Download PDFInfo
- 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
Links
- 238000007726 management method Methods 0.000 title claims abstract description 38
- 238000011084 recovery Methods 0.000 claims abstract description 84
- 238000004064 recycling Methods 0.000 claims abstract description 37
- 238000000034 method Methods 0.000 claims description 163
- 230000008569 process Effects 0.000 claims description 109
- 230000001965 increasing effect Effects 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 10
- 238000012163 sequencing technique Methods 0.000 claims description 2
- 238000013507 mapping Methods 0.000 claims 1
- 230000006870 function Effects 0.000 abstract description 48
- 230000009286 beneficial effect Effects 0.000 abstract description 6
- 230000000875 corresponding effect Effects 0.000 description 44
- 238000004891 communication Methods 0.000 description 33
- 230000006854 communication Effects 0.000 description 33
- 238000012545 processing Methods 0.000 description 21
- 239000010410 layer Substances 0.000 description 20
- 230000001976 improved effect Effects 0.000 description 16
- 238000010295 mobile communication Methods 0.000 description 11
- 230000005236 sound signal Effects 0.000 description 11
- 210000000988 bone and bone Anatomy 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 230000002035 prolonged effect Effects 0.000 description 8
- 230000004083 survival effect Effects 0.000 description 8
- 230000000694 effects Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 5
- 239000002699 waste material Substances 0.000 description 5
- 238000004422 calculation algorithm Methods 0.000 description 4
- 229920001621 AMOLED Polymers 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000005192 partition Methods 0.000 description 3
- 238000003672 processing method Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000036772 blood pressure Effects 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000002596 correlated effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 230000003416 augmentation Effects 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000010009 beating Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 238000013529 biological neural network Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 210000004556 brain Anatomy 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000010985 leather Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000010349 pulsation Effects 0.000 description 1
- 239000002096 quantum dot Substances 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003238 somatosensory effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation 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/5022—Mechanisms to release resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0806—Multiuser, multiprocessor or multiprocessing cache systems
- G06F12/084—Multiuser, multiprocessor or multiprocessing cache systems with a shared cache
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0253—Garbage collection, i.e. reclamation of unreferenced memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/72—Details relating to flash memory management
- G06F2212/7205—Cleaning, 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)
- PCT国内申请,权利要求书已公开。
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115412893A (zh) * | 2022-10-19 | 2022-11-29 | 成都锐成芯微科技股份有限公司 | 低功耗蓝牙属性访问方法及低功耗蓝牙系统 |
Families Citing this family (3)
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)
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 | 袁振南 | 基于数据结构的垃圾回收方法、计算机及存储介质 |
-
2019
- 2019-11-15 CN CN202211240345.5A patent/CN115757193B/zh active Active
- 2019-11-15 CN CN201911118935.9A patent/CN112817736B/zh active Active
-
2020
- 2020-11-02 CN CN202080079353.9A patent/CN114730288A/zh active Pending
- 2020-11-02 DE DE202020006014.3U patent/DE202020006014U1/de active Active
- 2020-11-02 US US17/768,655 patent/US12079118B2/en active Active
- 2020-11-02 WO PCT/CN2020/125947 patent/WO2021093626A1/zh active Application Filing
- 2020-11-02 EP EP20887920.5A patent/EP4030301B1/en active Active
Cited By (1)
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 |